eclipse 它无法自动部署到tomcat上。而通常如果自动放到Web-Inf下就可以,如何解决这个问题?也就是:lib不在web-inf下,如何使它能自动部署到tomcat?
1.解决方法
在项目project下 classpath

替换成

2.解决办法
右键点击工程,属性(properties),选择deployment assembly选项,单击add按钮,如下图:

在弹出的对话框选择java build path entries
next后会出现你加的jar包
可以参考http://dev-song.iteye.com/blog/1290639