码迷,mamicode.com
首页 > 其他好文 > 详细

default *** does not exist in this project

时间:2014-12-03 11:54:34      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:使用   sp   bs   代码   ef   nbsp   如何   ip   解决方案   

经历:

  最近在使用ant的时候总是报一个错:default **** does not exist in this project。很诡异的是在其他电脑上都不会报错,只有在项目组一个人的电脑上报错。找来找去找到很多关于如何配置ant的文章,但是MyEclipse已经自带了ant,不需要配置。死马当作活马医,试了多次仍然不起作用。偶然的我试着修改了xml的编码格式和中文字符,居然成功了。

 

错误代码:

  ant脚本报编译异常:default **** does not exist in this project

 

解决方案:

  1:修改xm编码集

  2:删除所有中文字符,重写中文 或者 改变为英文

 

总结:

  山穷水复疑无路,柳暗花明又一村

default *** does not exist in this project

标签:使用   sp   bs   代码   ef   nbsp   如何   ip   解决方案   

原文地址:http://www.cnblogs.com/thma/p/4139386.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!