码迷,mamicode.com
首页 > 其他好文 > 详细

配置Maven并新建项目遇到的问题

时间:2015-10-11 21:39:38      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:maven

配置Maven的方法:http://www.iteye.com/topic/1127097
遇到的问题:新建Maven项目后报错:Could not get the value for parameter encoding for plugin execution default- resources
解决方法:
解决:
问题:
Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven…….

解决方法:
1.Close Eclipse.
2.Navigate to user home directory. (For example: “C:\Users\YourUserName.m2”)
3.Delete the “repository” folder.
4.Re-open Eclipse.
5.Click on the Maven project that has an issue and go to “Project” –> “Clean”.
6.Right-click on the project and go to “Maven” –> “Update Project…”.
7.Close Eclipse.
8.Open Eclipse.
9.Click on the project folder in the “Project Explorer” window (usually on the left).
10.Hit the “F5” key a few times to Refresh your project.
Done!

另外遇到问题:jsp页面报错:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path
解决方法:项目右键—>build path—> configure build path —>librarys—>Add Library—>Server Runtime —>Apache Tomcat v7.0—>finish

版权声明:本文为CSDN博主Lunatictwo原创文章,未经博主允许不得转载。

配置Maven并新建项目遇到的问题

标签:maven

原文地址:http://blog.csdn.net/tryitboy/article/details/49051175

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!