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

 

转载于:https://www.cnblogs.com/Hellen-H/p/6634155.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值