This content has been marked as final.
Show 2 replies
-
1. Re: java.lang.ClassCastException:entity.InjectedEntityManagerFactory cannot be cast to EntityManagerFactory
jasonfly Aug 15, 2008 10:29 AM (in response to jasonfly)Resolved.
I had to mark the javax.persistence library as provided in my ejb and it worked -
2. Re: java.lang.ClassCastException:entity.InjectedEntityManagerFactory cannot be cast to EntityManagerFactory
richard1 Oct 7, 2009 12:08 AM (in response to jasonfly)David,
I'm fighting the same issue. If you're monitoring this thread, can you give a bit more detail as to how exactly you accomplished this marking?
FWIW, we've got a fairly substantial Seam app in production now; what I'm doing is creating a new app using the current version of the Eclipse plugins, &c, with an eye towards moving our old app over to the new better-supported project layout. This is something of a blocker at the moment!