eclipse 部署maven 的web 项目提示找不到类的问题

eclipse 部署maven 的web 项目提示找不到类的问题,需要把maven库添加到build path路径一起发布:

 

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






Choose Project-----> Click Next button

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

Choose your dependencies project -----> Click Finish button

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

That’s ok!

 

http://blog.sina.com.cn/s/blog_8ced01900101ba3f.html

posted @ 2014-04-07 21:40  xhqgogogo  阅读(587)  评论(0编辑  收藏  举报