accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Vines <john.w.vi...@ugov.gov>
Subject Re: java.lang.NoClassDefFoundError: org/apache/log4j/Logger -- in trunk build
Date Tue, 13 Mar 2012 22:46:56 GMT
There is a script that runs which regenerates the config.html page in docs
based on the AccumuloConfiguration class. It sounds like the classpath in
that script needs to be updated for all the pom changes that have been made.

John

On Tue, Mar 13, 2012 at 10:44 PM, David Medinets
<david.medinets@gmail.com>wrote:

> I'm not seeing this error on the jenkins build but I have repeated the
> following process twice and gotten the same error.
>
> svn co https://svn.apache.org/repos/asf/incubator/accumulo/trunkaccumulo_trunk
> cd accumulo_trunk
> mvn package -P assemble
>
> The result was
>
> [INFO] --- exec-maven-plugin:1.2:exec (config webpage) @ accumulo-assemble
> ---
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/log4j/Logger
>        at
> org.apache.accumulo.core.conf.AccumuloConfiguration.<clinit>(AccumuloConfiguration.java:29)
> Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message