maven构建项目web下没有lib

[url]http://stackoverflow.com/questions/6083501/maven-dependencies-not-visible-in-web-inf-lib
[/url]

if you are running the project as dynamic web project on a server within eclipse, then you should open the project properties (right click > properties) and select "Deployment Assembly". There click "add", select "build path entries", and choose "maven dependencies". This will instruct WTP to send the maven dependencies to the server dir.

猜你喜欢

转载自zjhdreams.iteye.com/blog/2206142