在使用Hibernate3的时候,发现程序编译好了,在运行时总是抛出java.lang.NoClassDefFoundError: javax/persistence/EntityListeners异常,
解决方案:只要将hibernate-jpa-2.0-api-1.0.1.Final.jar导入就OK了
转载于:https://my.oschina.net/Yushizi/blog/68205
转载于:https://my.oschina.net/Yushizi/blog/68205