Joined: Sun Nov 30, 2003 10:09 am Posts: 14
|
Hello everybody,
I got an exception while adding my class to config and got the follwoing exception
Hibernate.log 05 Apr 2004 18:25:07 -- ERROR -- Could not configure datastore from input stream java.lang.ClassCastException at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:92) at net.sf.cglib.reflect.FastClass.create(FastClass.java:74) at net.sf.hibernate.type.ComponentType.<init>(ComponentType.java:113) at net.sf.hibernate.cfg.Binder.bindComponent(Binder.java:886) at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1028) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:352) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1229) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:249) at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:285) at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:333) at com.mislbd.iris.reports.util.QueryTestCase.setUp(Unknown Source) at com.mislbd.iris.reports.marketing.test.MarketingQueries.setUp(Unknown Source) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.swingui.TestRunner$16.run(TestRunner.java:623)
can any give me reason?
Regars
Banik[/b]
|
|