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