1盯串、javax.servlet.http.HttpServlet was not found on the Java Build path富蓄?
項(xiàng)目右鍵》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//)?
說(shuō)明需要安裝com.taotao:taotao-common到本地。項(xiàng)目右鍵》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所有進(jìn)程(tests, servers, applications)赶诊,嘗試在cmd上mvn clean笼平、mvn clean install -U,都無(wú)效舔痪。思路就是想辦法刪掉access_log.2017-05-18文件寓调,嘗試退出eclipse,直接手動(dòng)刪除锄码。但是后面又生成了一個(gè)刪不掉的access_log.2017-05-19文件夺英。建議重建項(xiàng)目。
很可能是之前啟動(dòng)的tomcat沒(méi)有關(guān)掉滋捶,再啟動(dòng)一個(gè)tomcat當(dāng)然無(wú)法刪除正在使用的文件痛悯。
4、嚴(yán)重: 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中沒(méi)配置垮衷。