配置spring的配置文件添加<tx:annotation-driven/>时

Class 'org.springframework.transaction.event.TransactionalEventListenerFactory' not found

出现了"Class 'org.springframework.transaction.event.TransactionalEventListenerFactory' not found"

的错误提示.在网上查了很久不得解,找了很久最终解绝.

解决方法:

Window ->preferences->Spring->Beans Support->Namespace

Class 'org.springframework.transaction.event.TransactionalEventListenerFactory' not found

将前两项勾上问题就解决了.具体为什么,我也不是很了解.请指教!!!

 

 

 

相关文章: