[jboss-user] [JBoss Seam] - ClassCastException: java.lang.Long when viewing home page.
scott.stark@jboss.org
2007-07-06
ok. Apologizes early if I don't post the right info... I checked the forums and the Jira and don't see this issue so I'm betting it's me.. but here goes..
I used Seam generate-entities to create a bunch of crud pages.. all went well. I have tried this again with the same DB several different times with no luck. It seems to generate the entities just fine, deploys and starts up but when I try to view the home page I'm presented with a "java.lang.ClassCastException: java.lang.Long" I've tried it with both 1.3Alpha (which worked the 1st time) and with 2.0Beta1. I'm using SQL Server 2005 and the SprintA TDS driver.
Since there is so much code I didn't create I'm really not sure where to look for the issue. So any suggestions would be greatly appreciated. Also note that I had this error on a different entity.. I removed it from the included DB tables.. regenerated and now the next entity has the same issue so I know it wasn't a particular entity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061468#4061468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061468 _______________________________________________ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user