maven 依赖的包没有引进去引起的jar包没找到错误

这段时间开发一个小型oa系统遇到的一个maven 依赖的jar没有导进去而引起的配置文件读取不到jar包的错误。浪费了些时间,终于发现问题,mark下以便以后解决类似问题。

eclispe中的maven项目使用spring报java.lang.ClassNotFoundException: org.springframework.web.c

   

1.       Add maven dependencies  

Right click the web project “properties” -------> click the “Deployment Assembly” ---->

Click add button

eclispe中的maven项目使用spring报java.lang.ClassNotFoundException: <wbr>org.springframework.web.c

 

Choose Java Build Path Entires ---> click Next

eclispe中的maven项目使用spring报java.lang.ClassNotFoundException: <wbr>org.springframework.web.c

 

Choose Maven Dependencies------>  Finish

 eclispe中的maven项目使用spring报java.lang.ClassNotFoundException: <wbr>org.springframework.web.c

2.       Add project dependencies

  Click add button

eclispe中的maven项目使用spring报java.lang.ClassNotFoundException: <wbr>org.springframework.web.c


posted @ 2016-08-24 11:39  java_cui28  阅读(9254)  评论(1编辑  收藏  举报