users@jaxb.java.net

Re: JAXB 2 samples, Maven, LinkageError

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 11 Jul 2006 11:53:18 -0700

John Sanda wrote:
> Well, I just read Kohsuke's explanation about this, and running the
> program in a forked Java process got things working. So it leaders me
> to wonder if 1) the Maven plugin is using a separate classloader for
> class and 2) what the delegation model is for that classloader. For
> anyone who is interested here is the change I had to make to my
> pom.xml.

I believe none of us had dug deep enough to find out exactly what
classloader set up is causing this issue.

If you can do it and report an issue to Maven, that would be really great.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com