今天学习spring事务注解时遇到的报错org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/context/event/EventListenerFactory
Caused by: java.lang.ClassNotFoundException: org.springframework.context.event.EventListenerFactory
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 58 more
网上百度了下,有些类似的,有人回答是包没导进去,我去build path里面看了下,spring-web-4.1.6.RELEASE.jar导进去了啊,这我就百思不得其解了,忘各位前辈们不要嘲笑我,能帮我指出问题所在,谢谢了!
添加回答
举报
0/150
提交
取消