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



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM