配置Maven的方法:[http://www.iteye.com/topic/1127097](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
- 前言
- 配置Maven并新建項目遇到的問題
- 使用Maven管理Spring
- maven項目使用spring報java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListe
- SSM框架——詳細整合教程(Spring+SpringMVC+MyBatis)
- Maven+Spring+Spring MVC+MyBatis+MySQL,搭建SSM框架
- 使用MyBatis_Generator生成Dto、Dao、Mapping
- Maven創建web項目具體過程
- Spring MVC常用注解整理
- DispatcherServlet中一些特殊的Bean總結