You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Uma Shankar Kayarohanam <um...@aztec.soft.net> on 2004/07/06 09:33:32 UTC
build fails with maven-rc4
With maven-rc4.. build failed with this message..
[echo] Building server configuration
[java] java.lang.reflect.InvocationTargetException
[java] at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:146)
[java] at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
<snip/>
[java] at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)
[java] Caused by: java.lang.NoClassDefFoundError: org/apache/geronimo/gbean/GBean
[java] at java.lang.ClassLoader.defineClass0(Native Method)
<snip/>
BUILD FAILED
File...... \incubator-geronimo\maven.xml
Element... maven:reactor
Line...... 180
Column.... 27
Unable to obtain goal [default] -- \incubator-geronimo\modules\assembly\maven.xml:175:84: <ant:java> Java returned: 2
Later tried with rc3. Build goes through.
Re: build fails with maven-rc4
Posted by Raj Saini <ra...@yahoo.com>.
I am also facing the same problem and and also send a
mail to this list before. Is this maven issue?
Raj
--- Jacek Laskowski <jl...@apache.org> wrote:
> Uma Shankar Kayarohanam wrote:
>
> > With maven-rc4.. build failed with this
> message..
> >
> > [echo] Building server configuration
> > [java] java.lang.reflect.InvocationTargetException
> > [java] at
>
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:146)
> > [java] at
>
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
> > <snip/>
> > [java] at
>
org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)
> > [java] Caused by: java.lang.NoClassDefFoundError:
> org/apache/geronimo/gbean/GBean
> > [java] at
> java.lang.ClassLoader.defineClass0(Native Method)
> > <snip/>
> > BUILD FAILED
> > File...... \incubator-geronimo\maven.xml
> > Element... maven:reactor
> > Line...... 180
> > Column.... 27
> > Unable to obtain goal [default] --
>
\incubator-geronimo\modules\assembly\maven.xml:175:84:
> <ant:java> Java returned: 2
> >
> >
> > Later tried with rc3. Build goes through.
>
> Just to say he's not alone, I'm also having the
> issue with RC4, but
> unable to sort it out yet.
>
> It must be something with the recent changes to the
> way classloading
> works (and I'd expect it written down in CHANGELOG
> or so).
>
> Any volunteers? ;)
>
> Pozdrawiam,
> Jacek
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Re: build fails with maven-rc4
Posted by Jacek Laskowski <jl...@apache.org>.
Uma Shankar Kayarohanam wrote:
> With maven-rc4.. build failed with this message..
>
> [echo] Building server configuration
> [java] java.lang.reflect.InvocationTargetException
> [java] at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:146)
> [java] at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
> <snip/>
> [java] at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)
> [java] Caused by: java.lang.NoClassDefFoundError: org/apache/geronimo/gbean/GBean
> [java] at java.lang.ClassLoader.defineClass0(Native Method)
> <snip/>
> BUILD FAILED
> File...... \incubator-geronimo\maven.xml
> Element... maven:reactor
> Line...... 180
> Column.... 27
> Unable to obtain goal [default] -- \incubator-geronimo\modules\assembly\maven.xml:175:84: <ant:java> Java returned: 2
>
>
> Later tried with rc3. Build goes through.
Just to say he's not alone, I'm also having the issue with RC4, but
unable to sort it out yet.
It must be something with the recent changes to the way classloading
works (and I'd expect it written down in CHANGELOG or so).
Any volunteers? ;)
Pozdrawiam,
Jacek