Eclipse工具搭建maven项目基本问题解决

1.新建springmvc项目 参考http://blog.csdn.net/zhangt85/article/details/42103113
2.将project转成web项目 http://blog.csdn.net/hongchangfirst/article/details/7896283
3.maven update报错解决
报错:  Description Resource Path Location Type

     Java compiler level does not match the version of the installed Java project facet. firstdemo Unknown Faceted Project Problem (Java Version Mismatch)

解决依据: http://blog.csdn.net/yjq8116/article/details/5283627

 

报错:  Description Resource Path Location Type Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER w
解决依据: http://www.myexception.cn/operating-system/1646865.html

 

报错:  maven update jdk变回1.5

解决依据:   https://my.oschina.net/sunnywu/blog/330442


报错:  add dependencies 报错artifact id cannot be empty
解决依据:   http://stackoverflow.com/questions/18047843/cannot-search-for-artifact-in-eclipse-kepler-using-m2e-plugin


页面报错:  The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

解决依据:   添加tomcat服务器,配置包http://jingyan.baidu.com/article/f79b7cb34f40569144023ef9.html

 

posted on 2017-03-28 13:42  Hellen_H  阅读(334)  评论(0编辑  收藏  举报

导航