[jboss-user] [JBoss Seam] - Re: @DataModelSelection and ClassCastException

wise_guybg do-not-reply at jboss.com
Thu Jul 26 12:44:41 EDT 2007


ClassCastException with two times the same class:
anonymous wrote : javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: java
  | .lang.ClassCastException: org.hibernate.collection.PersistentBag
  | java.lang.ClassCastException: org.hibernate.collection.PersistentBag

This tells me that you have two different versions of the class that is used. Two imports of hibernate jars, something like that...

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

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



More information about the jboss-user mailing list