Java问题解决:The project cannot be built until build path errors are resolved

Posted Zoe`

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java问题解决:The project cannot be built until build path errors are resolved相关的知识,希望对你有一定的参考价值。

参考:http://blog.csdn.net/marty_zhu/article/details/2566299

1,看看project -- Build Automatically有没有勾上?如果没有,勾上以后,clean一下,重启eclipse

2,看看你的lib里面有没有不用的jar包,看你的.classpath文件中有没有错误的路径.

3,这是最重要的一点,有problems视图中查看有没有关于本项目的错误信息,一般都会有这样的话:      The project cannot be built until build path errors are resolved 然后下面提示unbound classpath, 一般在.classpath中删除这些path就可以了

4. 安装Tomcat后,确保{tomcat_home}/common/lib文件夹下有jasper-runtime.jar、jsp-api.jar、servlet-api.jar、jndi.jar几个文件。启动Eclipse,第一次启动会有一个配置过程,选择菜单上的window/preferences,选java/classpath variables,New添加一个名为JDK_TOOLS并指向你的{jdk_home}/lib/tools.jar的环境变量。

以上是关于Java问题解决:The project cannot be built until build path errors are resolved的主要内容,如果未能解决你的问题,请参考以下文章

java compiler level does not match the version of the installed java project facet错误的解决

the resource is not on the build path of a Java project报错解决

Java compiler level does not match the version of the installed java project facet错误的解决

解决java compiler level does not match the version of the installed java project facet

Java compiler level does not match the version of the installed Java project facet.解决方法

解决java compiler level does not match the version of the installed java project facet转载