首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

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

2013-11-05 
maven管理jar包后依然找不到Jar包或者ClassNotFound的解决使用maven管理后,依然报错,找不到,比如如下错误j

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".

热点排行