eclipse 部署maven 的web 项目提示找不到类的问题,需要把maven库添加到build path路径一起发布:
1. Add maven dependencies
Right click the web project “properties” -------> click the “Deployment Assembly” ---->
Click add button
Choose Java Build Path Entires ---> click Next
Choose Maven Dependencies------> Finish
2. Add project dependencies
Choose Project-----> Click Next button
Choose your dependencies project -----> Click Finish button
That’s ok!
http://blog.sina.com.cn/s/blog_8ced01900101ba3f.html