tomcat部署项目时,jar都没有部署进去的解决方法

报错:

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

解决方法:

右击项目properties -> Deployment Assembly 里面能看到发布的lib以及关联项目。缺的话添加。

如:maven 的 jar

猜你喜欢

转载自wisfly.iteye.com/blog/2259044
今日推荐