在实际开发过程中,可能由于项目的需要,我们需要更换 JDK 的版本.但是更换后会报错,如下: Java compiler level does not match the version of the installed Java project facet. 解决办法: 第一步:设置 eclipse JDK 版本 Windows---->Preferences---->Java---->Installed JREs 第二步:设置 JDK 编译版本 Windows---->Pref…
一.项目本身就有错 二.jdk版本的问题 参考网址:http://jingyan.baidu.com/article/95c9d20da3ec5fec4e756186.html 从别的地方导入一个项目的时候,经常会遇到eclipse/Myeclipse报Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet…
错误原因: 我们用Eclipse创建Maven结构的web项目的时候选择了Artifact Id为maven-artchetype-webapp,由于这个catalog比较老,用的servlet还是2.3的,而一般现在至少都是2.5,在 Project Facets里面修改Dynamic web module为2.5的时候就会出现Cannot change version of project facet Dynamic web module to 2.5,如图: 解决办法: 1.在工程目录下有…
在用eclipse开发项目 用tomcat发布项目的时候 会提示超时, Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 解决方案: 1.在 eclipse菜单->window->preferencs里找到server 中…
项目移除原来的jre环境lib后,添加本地的jre,报错如下: Java compiler level does not match the version of the installed Java project facet. 问题就出在切换了java版本上: 在项目的properties中,myeclipse->project facets->java version改成1.7 即可.…
错误:The origin server did not find a current representation for the target resource or is not willing to... 我的原因是没有写全路径:用eclipse跑的只有项目名而没有具体路径 如: http://localhost:8080/Test 添加后面的就行了 如: http://localhost:8080/Test/regist.jsp 如果没有解决你的问题,你可以看看下面这个链接: http…