maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll" <stephane.nic...@gmail.com>
Subject Re: MNG-2571 - weird exception using the embedder
Date Sun, 01 Oct 2006 19:10:30 GMT
On 10/1/06, David Jencks <david_jencks@yahoo.com> wrote:
>
>
> The classes are in different classloaders.  Hopefully the
> classloaders' toString() will give you enough info about which ones
> they are if you add that to the debugging.

You're right. The interface and the actual implementation are in
different classloaders. In my unit tests, I have the following in the
setUp method:

this.maven.setClassLoader( Thread.currentThread().getContextClassLoader() );

How can I solve this classloader issue?

Thanks,
St├ęphane

>
> thanks
> david jencks
>
> >
> > Any idea?
> >
> > Thanks,
> > St├ęphane
> >
> >
> > [1] http://jira.codehaus.org/browse/MNG-2571
> > [2] http://maven.apache.org/plugins/maven-ear-plugin/howto.html
> > [3] http://java.sun.com/j2se/1.4.2/docs/api/java/lang/
> > ArrayStoreException.html
> >
> > --
> > Un chewing-gum? Non merci, jamais pour parler.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Un chewing-gum? Non merci, jamais pour parler.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message