Had already tried that, with no difference. I also noticed that the properties tag is not in the project xsd file and so assumed that this is now defunct.
The class that is causing the problem is my own Certificate class (a class that implements java.security.cert.Certificate) and is obtained via the java.security.cert.CertificateFactory which creates the instance. I'm assuming that the classloader for my jar (with the Certificate and Provider) is being loaded by a (lower) classloader that the JRE CertificateFactory can't see and so it is re-loading my jar onto its classloader. Thus, later on I get the ClassCastException. So I'm guessing I need to somehow get junit/maven to load my jar into a higher classloader? (I'm no expert on these classloader things by the way!) Any help much appreciated. Sean On Tue, 2003-02-04 at 20:07, Incze Lajos wrote: > On Tue, Feb 04, 2003 at 05:00:56PM +0000, Sean Radford wrote: > > I should add that the only location of the problem Class is in a jar in > > my local maven repository and referenced as a project dependency. > > > > Not sure, that this is your problem, but try to add in project.xml to > that dependency the classloader property "root.maven": > > <dependency> > <id>YOUR_ID</id> > <version>YOUR_VERSION</version> > <url>YOUR_URL</url> > <properties> > <classloader>root.maven</classloader> > </properties> > </dependency> > > incze > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Sean Radford <[EMAIL PROTECTED]> Blade Systems --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]