首页 > 学院 > 开发设计 > 正文

default *** does not exist in this project

2019-11-14 22:06:20
字体:
来源:转载
供稿:网友
default *** does not exist in this PRoject

经历:

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

错误代码:

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

解决方案:

  1:修改xm编码集

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

总结:

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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表