hibernate search 老出这个错误

编程小强 发布于 2012/03/30 15:17
阅读 641
收藏 0
Exception in thread "main" java.lang.VerifyError: (class: org/hibernate/search/event/FullTextIndexEventListener, method: onPostInsert signature: (Lorg/hibernate/event/PostInsertEvent;)V) Incompatible argument to function
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
 at java.lang.Class.getConstructor0(Unknown Source)
 at java.lang.Class.newInstance0(Unknown Source)
 at java.lang.Class.newInstance(Unknown Source)
 at org.hibernate.cfg.Configuration.setListeners(Configuration.java:1584)
 at org.hibernate.cfg.Configuration.parseEvent(Configuration.java:1567)
 at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1498)
 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1458)
 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1432)
 at org.hibernate.cfg.Configuration.configure(Configuration.java:1352)
 at org.hibernate.cfg.Configuration.configure(Configuration.java:1338)
 at util.HibernateUtils.<clinit>(HibernateUtils.java:13)
 at hibernate.search.mamanger.HibernateSearcherManager.main(HibernateSearcherManager.java:19)
加载中
返回顶部
顶部