maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, Eric" <>
Subject Findbugs 2.4.0 fails with NoClassDefFoundError
Date Wed, 02 May 2012 15:30:00 GMT

We're having a very weird error with the latest Findbugs plugin.
It works fine on our test build server, but it fails on our production build server.

Here's the output:
     [java] java.lang.NoClassDefFoundError: org/apache/bcel/classfile/ClassFormatException
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.bcel.classfile.ClassFormatException
     [java] 	at$
     [java] 	at Method)
     [java] 	at
     [java] 	at java.lang.ClassLoader.loadClass(
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(
     [java] 	at java.lang.ClassLoader.loadClass(
     [java] Could not find the main class: edu.umd.cs.findbugs.FindBugs2.  Program will exit.
     [java] Exception in thread "main"

When running in debug mode, we can see that the classpathes of the test and production servers

Here are the JARs that appear on the test server, but not on the production server:
[DEBUG]          dom4j:dom4j:jar:1.6.1:compile
[DEBUG]          jaxen:jaxen:jar:1.1.1:compile
[DEBUG]             jdom:jdom:jar:1.0:compile
[DEBUG]             xom:xom:jar:1.0:compile
[DEBUG]                xerces:xmlParserAPIs:jar:2.6.2:compile
[DEBUG]                xalan:xalan:jar:2.6.0:compile
[DEBUG]          asm:asm:jar:3.3:compile
[DEBUG]          asm:asm-tree:jar:3.3:compile
[DEBUG]          asm:asm-commons:jar:3.3:compile

Any hints what we're doing wrong or how I could chase that bug better?

Thanks & best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message