eclipse problems

华甫
2023-12-01

 1.用Eclipse进行Java web开发时,可能会出现这样的错误:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path。 

解决  :BuildPath --> add Library ->server runtime-->apach tomcat6.0v 


2、Eclipse : An error occurred while filtering resources
 解决:Maven -> Update Project... resolved this problem for me


3、Cannot change version of project facet Dynamic Web Module to 3.0. 和 One or more constraints have not been satisfied.

 解决:需要修改 project的 properties的 project facts的 Dynamic Web Moudle Version版本和 web.xml中的版本一直,然后 在通过maven update

4、Project configuration is not up-to-date with pom.xml.   Run Maven->Update Project or use Quick Fix.

 解决:项目上右键——【Maven】——【Update Project Configuration……】
这时会打开一个(Update Maven Dependencies)的对话框,然后勾选住出错的项目,点击Ok


5. The word is not correctly spelled 此问题是eclipse校验单词拼写造成,如果出在配置文件中,一般会影响到程序的正常执行
解决:在eclipse下的Window--Preference输入spell,然后把第一个复选框“Enable spell checking“给去掉就可以了

 类似资料:

相关阅读

相关文章

相关问答