db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Bengtson <e...@jpox.org>
Subject Re: Missing JPOX "implementation creator"
Date Mon, 24 Apr 2006 18:23:49 GMT
Yes, you can check that JPOX enhancer jar is in the test runtime classpath by
enabling maven debug mode.

Quoting Jörg von Frantzius <joerg.von.frantzius@artnology.com>:

> Hi,
>
> when I run the tests, I see the following error. Is there anything I can
> do about this myself per chance?
>
> Thanks for even more hints,
> Jörg
>
>
>     1)
>
>
test(org.apache.jdo.tck.models.fieldtypes.TestArrayCollections)javax.jdo.JDOFatalException:
>     The JPOX "implementation creator" was not found in the CLASSPATH. To
>     use PersistenceManager.newInstance() you need to have the JPOX
>      Enhancer in the CLASSPATH.
>             at
>     org.jpox.PMFContext.getImplementationCreator(PMFContext.java:90)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForReferenceField(ColumnCreator.java:288)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:411)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForJoinTables(ColumnCreator.java:145)
>             at
>     org.jpox.store.rdbms.table.ArrayTable.initialize(ArrayTable.java:93)
>             at
>
>
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2613)
>             at
>     org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2225)
>             at
>
>
org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2081)
>             at
>     org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:576)
>             at
>     org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:590)
>             at
>     org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:983)
>             at
>
>
org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:770)
>             at
>     org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:575)
>             at
>
>
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1149)
>             at
>
>
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1205)
>             at
>
>
org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.runTest(TestArrayCollections.java:97)
>             at
>
>
org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.test(TestArrayCollections.java:73)
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>             at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>             at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>             at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:237)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
>     NestedThrowablesStackTrace:
>     java.lang.ClassNotFoundException:
>     org.jpox.enhancer.ImplementationCreatorImpl
>             at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>             at java.security.AccessController.doPrivileged(Native Method)
>             at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>             at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>             at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>             at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>             at java.lang.Class.forName0(Native Method)
>             at java.lang.Class.forName(Class.java:242)
>             at
>     org.jpox.PMFContext.getImplementationCreator(PMFContext.java:77)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForReferenceField(ColumnCreator.java:288)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:411)
>             at
>
>
org.jpox.store.rdbms.table.ColumnCreator.createColumnsForJoinTables(ColumnCreator.java:145)
>             at
>     org.jpox.store.rdbms.table.ArrayTable.initialize(ArrayTable.java:93)
>             at
>
>
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2613)
>             at
>     org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2225)
>             at
>
>
org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2081)
>             at
>     org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:576)
>             at
>     org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:590)
>             at
>     org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:983)
>             at
>
>
org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:770)
>             at
>     org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:575)
>             at
>
>
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1149)
>             at
>
>
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1205)
>             at
>
>
org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.runTest(TestArrayCollections.java:97)
>             at
>
>
org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.test(TestArrayCollections.java:73)
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>             at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>             at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>             at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:237)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
>             at
>     org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
>
>




Mime
View raw message