首页 > 编程语言 > 详细

使用maven管理后,依然找不到需要的jar包

时间:2015-04-02 01:08:45      阅读:308      评论:0      收藏:0      [点我收藏+]

使用maven管理后,依然报错,找不到,比如如下错误
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener


方法如下

1) Open the project‘s properties (e.g., right-click on the project‘s name in the project explorer and select "Properties")
2) select "Deployment Assembly"
3) Click the "Add..." button on the right margin
4) Select "Java Build Path Entries" from the menu of Directive Type and click "Next"
5) Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".

使用maven管理后,依然找不到需要的jar包

原文:http://www.cnblogs.com/wang3680/p/4385694.html

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