This one time, at band camp, Ron Dlugosz said:
RD>I'm having trouble running any Castor-JDO programs. I tried several
RD>example programs and keep getting the following message every time I try
RD>to run the programs:
RD>
RD> xception in thread "main" java.lang.IncompatibleClassChangeError
RD> at
RD>
RD>org.exolab.castor.persist.PersistenceFactoryRegistry.load(PersistenceFactoryRegistry.java:137)
RD> at
RD>org.exolab.castor.persist.PersistenceFactoryRegistry.getPersistenceFactory(PersistenceFactoryRegistry.java:98)
RD> at
RD>org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:250)
RD> at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
RD> at ShopTest.main(ShopTest.java:27)
RD>
RD>The program does compile clean and I have the castor jar file in the
RD>path. Does anyone have any idea why this error is occuring?
Ron,
This error could be occurring because you're using an incompatible (older
or newer) version of a lib that Castor needs. Make sure that you're using
the libs provided with Castor in it's lib dir. What does your CLASSPATH
look like? Are you using Castor with a Servlet or J2EE container?
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev