1、javax.servlet.http.HttpServlet was not found on the Java Build path?
项目右键》build path》configure build path》java build path》libraries>add library》server runtime》next》finish.
2、Failed to execute goal on project taotao-manage-web: Could not resolve dependencies for project com.taotao:taotao-manage-web:war:0.0.1-SNAPSHOT: Could not find artifact com.taotao:taotao-common:jar:0.0.1-SNAPSHOT in maven-ali (http://maven.aliyun.com/nexus/content/groups/public//)?
说明需要安装com.taotao:taotao-common到本地。项目右键》run as》maven install。
3、Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manage-web: Failed to clean project: Failed to delete D:\javaeeworkspace\taotao-manage-web\target\tomcat\logs\access_log.2017-05-18?
基本上要stop所有进程(tests, servers, applications),尝试在cmd上mvn clean、mvn clean install -U,都无效。思路就是想办法删掉access_log.2017-05-18文件,尝试退出eclipse,直接手动删除。但是后面又生成了一个删不掉的access_log.2017-05-19文件。建议重建项目。
很可能是之前启动的tomcat没有关掉,再启动一个tomcat当然无法删除正在使用的文件。
4、严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"],java.net.BindException: Address already in use: JVM_Bind <null>:8080?
思路:cmd输入 netstat,查看端口占用。
***5、Could not find action or result: /resource/resourcemap/map.htm?v_timestamp=1500426982521
分析:action中以及struct或者spring中没配置。