`
LiYunpeng
  • 浏览: 938092 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

maven管理jar包后依然找不到Jar包或者ClassNotFound的解决

阅读更多
使用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".

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics