没留意设置了什么地方导致eclipse目录不能显示代码编译不过所提示的红叉。后来找到原因并做如下修改错误提示就出来了。(@2@)
项目上右键-->properties-->java compiler-->building-->enable project specific setting-->build path problems-->选中abort Incomplete build path/Circular dependencies 这两个选项修改为Warning
本文介绍了解决Eclipse中代码编译不通过的问题。具体步骤包括:项目右键属性设置,调整Java编译器配置,启用项目特定设置,并将构建路径问题设置为警告。
项目上右键-->properties-->java compiler-->building-->enable project specific setting-->build path problems-->选中abort Incomplete build path/Circular dependencies 这两个选项修改为Warning
1228
2629

被折叠的 条评论
为什么被折叠?