I am trying to merely open up a JDO connection, and I get this error.
Exception in thread "main" java.lang.NoSuchMethodError
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:471)
at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase
(DatabaseRegistry.java:241)
at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
at coral.rmproto.Test4.main(Unknown Source)
My code is as follows...
JDO jdo;
Database db;
jdo = new JDO();
jdo.setDatabaseName( "rmproto" );
jdo.setConfiguration
( "/Users/jklann/dev/rmproto/src/xml/database.xml" );
jdo.setClassLoader( new Object().getClass().getClassLoader() );
db = jdo.getDatabase(); // <-- dies on this line
db.close();
Can anyone help?
thanks,
jeff
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev