Skip to content

Mesh converter : issue with logging #51

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 [email protected] on 10 Jul 2014 at 5:12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions