Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> java.lang.NoClassDefFoundError: org/apache/log4j/Logger -- in trunk build


Copy link to this message
-
Re: java.lang.NoClassDefFoundError: org/apache/log4j/Logger -- in trunk build
I

On Tue, Mar 13, 2012 at 6:46 PM, John Vines <[EMAIL PROTECTED]> wrote:
> 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
> <[EMAIL PROTECTED]>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

I just committed the fix to this.

>>
>> 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)
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB