Ups! That's my fault.
I removed the 'bad' descriptor from junit
repository (was a little to fast, check in descriptor
without associated class).

regards,
Armin

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 1:22 PM
Subject: ObjectCacheTest$CacheObject not found when starting Junit tests


> Hello,
>
> I am using current CVS HEAD.  When starting the junit tests, I get
> the following error.  It can be fixed by commenting out the respective
> class descriptor in repository_junit.xml.
>
> Am I the only one with that problem?
>
> Could not read repository class descriptor data, using repository:
> repository.xml: Class
org.apache.ojb.broker.ObjectCacheTest$CacheObject
> could not be found in the classpath. This could cause unexpected
behaviour
> of OJB, please remove or comment out this class descriptor in the
> repository.xml file.:
org.apache.ojb.broker.ObjectCacheTest$CacheObject
> java.lang.ClassNotFoundException:
> org.apache.ojb.broker.ObjectCacheTest$CacheObject
> at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:217)
> at
> org.apache.ojb.broker.util.ClassHelper.getClass(ClassHelper.java:19)
> at
> org.apache.ojb.broker.util.ClassHelper.getClass(ClassHelper.java:53)
> at
>
org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Reposit
oryX
> mlHandler.java:221)
>
> [...]
>
> regards,
> Olli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to