[jboss-user] [JBoss Seam] - Re: TestNG entityMnager question

dkane do-not-reply at jboss.com
Sun Dec 2 16:27:20 EST 2007


And, the final result for today :) 

java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getReflectionManager()Lorg/hibernate/annotations/common/reflection/ReflectionManager;
  | 	at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:152)
  | 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:888)
  | 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:186)
  | 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:246)
  | 	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
  | 	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
  | 	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
  | 	at com.avtohouse.test.SimpleSearchCase.simpleSearch(SimpleSearchCase.java:22)
  | ... Removed 22 stack frames
  | 

This is being thrown from line
EntityManagerFactory emf = 
  | 	   Persistence.createEntityManagerFactory("trackUnit");
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109671#4109671

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109671



More information about the jboss-user mailing list