emir-munoz / hive-mrc

Automatically exported from code.google.com/p/hive-mrc
0 stars 0 forks source link

Mesh converter : issue with logging #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I tried to use the mesh converter but I get an error from log4j.

I have downloaded hive-core-2.2.jar and also commons-logging-1.1.3.jar
I've set le CLASSPATH to the commons-loggin directory

I run from the command line (windows 8)

> java -Xmx1024m -cp .\hive-core-2.2.jar 
edu.unc.ils.mrc.hive.converter.mesh.MeshConverter ...

I get this exception :

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/commons/logging/LogFactory
        at edu.unc.ils.mrc.hive.converter.mesh.MeshConverter.<clinit>(MeshConverter.java:83)
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.logging.LogFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more
Could not find the main class: edu.unc.ils.mrc.hive.converter.mesh.MeshConverter
.  Program will exit.

Thanks in advance,
René

Original issue reported on code.google.com by rene.ast...@gmail.com on 10 Jul 2014 at 5:12