首页 > 系统服务 > 详细

Eclipse Maven to create Struts2 Project

时间:2015-04-27 21:38:18      阅读:268      评论:0      收藏:0      [点我收藏+]

Follow the guide in this page:

http://blog.csdn.net/topwqp/article/details/8882965

 

problem met :

 

  • Description Resource Path Location TypeThe superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /Sample_Struts/src/main/webapp line 1 JSP Problem

 

Solution: right click the project->Properties->Targeted Runtimes-> Select the TOMCAT and click the Ok Button

  • Missing src/main/java source folder:

 Solution: Right click the project->Properties->Java Build Path-> Source Tab  click the red error mssing entry like  Projectname/src/main/java (missing)

Click the "Add Folder‘  Check the "src" checkbox .

 

 

技术分享

 

 

 

 

  • ClassNotFound error for lib folder not contain the libraries.

Solution: right click the project ->properties->Deployment Assembly-> Add the maven folder for project (Click Add button ->Java Build Path Entries->Next->Maven Dependencies

 

Eclipse Maven to create Struts2 Project

原文:http://www.cnblogs.com/alterhu/p/4461385.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!