-
1. Re: Could not instantiate Seam component {ProjectName}EntityManagerFactory
dhinojosa Jun 22, 2008 8:44 AM (in response to adityagaddam)Can you paste the the entire error trace on here?
-
3. Re: Could not instantiate Seam component {ProjectName}EntityManagerFactory
dhinojosa Jun 23, 2008 6:58 AM (in response to adityagaddam)Hmm everything looks ok from what I can see....
Can you run the clean target on your ant file to make sure that there are no previous class files in the exploded-* directories? Sometimes I get 'class residue' from the previous builds and it holds on to definitions that I removed from a while back.
I didn't see a field in Author called 'Author' and you may have had it previously and it just didn't get cleaned out.
Caused by: org.hibernate.MappingException: Could not determine type for: com.my.testing.Author, for columns: [org.hibernate.mapping.Column(author)] at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266) at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253) at org.hibernate.mapping.Property.isValid(Property.java:185) at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:440) at org.hibernate.mapping.RootClass.validate(RootClass.java:192) at org.hibernate.cfg.Configuration.validate(Configuration.java:1102) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1287) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
-
4. Re: Could not instantiate Seam component {ProjectName}EntityManagerFactory
ajshivam Feb 21, 2009 7:13 AM (in response to adityagaddam)hi!!
I am facing the same problem as mentioned above.I ve tried looking everywhere and cant seem to figure out the problem.I'm still a student and have to work on seam and jboss as part of my project.But i cant seem to go forward. I m using jboss-seam-2.1.1.GA and jboss developer studio version 2.0.0.CR1.. Please help me out.
Thanx
shivam