我的环境如下:
MyEclipse2014
tomcat5.5
部署应用后,一直报错。
2017.07.18 15:28:40 ERROR [/YssTaQs](3746):? Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
我的解决方法:
右键工程->properties
选择 'Deployment Assembly'
点击'Add...' Button in right side of the popped up window
Now appear one more popup window(New Assembly Directivies)
点击 'Java Build path entries'
点击 'Next' Button
Click 'Finish' Button, now atomatically close New Assemby Directivies popup window
Now click 'Apply' Button and Ok Button
Run your webapplication
PS:花了很多时间~以上操作其实就是把jar包拷贝到web-inf/lib下