Sounds like your classpath isn't set right. Set your classpath and type: javap org.dharma.job.JobWrapper
If that doesn't work, then the classpath is wrong. If it does work, then is it the same classpath that your server is running? If so, then let me know 'cause the problem is elsewhere. On Sun, 2002-01-20 at 13:12, Jesse Greenwald wrote: > In my mapping (see attached file) I have a class > "org.dharma.job.TaskWrapper" that has 2 items in it's identity field. > One of the items points to a field that is of type "integer". The other > item points to a field that is of type "org.dharma.job.JobWrapper". > When I try to create a job with a task, JDO throws the following > exception: > > Exception in thread "main" No class found for org.dharma.job.JobWrapper. > at org.postgresql.Connection.putObject(Connection.java:812) > at > org.postgresql.jdbc2.PreparedStatement.setObject(PreparedStatement.java:596) > at org.exolab.castor.jdo.engine.SQLEngine.create(SQLEngine.java:561) > at org.exolab.castor.persist.ClassMolder.create(ClassMolder.java:891) > at org.exolab.castor.persist.LockEngine.create(LockEngine.java:458) > at > org.exolab.castor.persist.TransactionContext.create(TransactionContext.java:803) > at > org.exolab.castor.jdo.engine.DatabaseImpl.create(DatabaseImpl.java:338) > at org.dharma.middleware.TestJDO.<init>(TestJDO.java:73) > at org.dharma.middleware.TestJDO.main(TestJDO.java:36) > > Is it not possible to have a complex identity field like that, or am I > doing something else wrong? > > Thanks > -- > Jesse Greenwald <[EMAIL PROTECTED]> > Kansas State University > > ---- > -- Virtually, Ned Wolpert <[EMAIL PROTECTED]> D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45
msg04389/pgp00000.pgp
Description: PGP signature
