当发生
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
或者
java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener
时,很有可能是jar未复制到部署文件中,导致类无法找到的错误,在maven项目中,jar可以自动引用依赖,但是不能自动复制到部署项目中,下边为解决方案。
当前项目-> 右键 -> Properties(属性)->Deployment Assembly->Add...



大功告成
原创文章如转载,请注明出处“
伊人博客”