Details
Description
Looks like there's a reference to log4j in the code that needs scrubbing:
java -cp Downloads/min-jaba-client-2.01.jar compbio.ws.client.Jws2Client -h=http://www.compbio.dundee.ac.uk/jabaws -list_services
Oct 23, 2012 5:29:42 PM compbio.ws.client.Jws2Client connectToRegistry
INFO: Connected to RegistryWS successfully!
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at compbio.util.FileUtil.<clinit>(FileUtil.java:33)
at compbio.ws.client.Jws2Client.getServices(Unknown Source)
at compbio.ws.client.Jws2Client.listServices(Unknown Source)
at compbio.ws.client.Jws2Client.<init>(Unknown Source)
at compbio.ws.client.Jws2Client.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 5 more
java -cp Downloads/min-jaba-client-2.01.jar compbio.ws.client.Jws2Client -h=http://www.compbio.dundee.ac.uk/jabaws -list_services
Oct 23, 2012 5:29:42 PM compbio.ws.client.Jws2Client connectToRegistry
INFO: Connected to RegistryWS successfully!
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at compbio.util.FileUtil.<clinit>(FileUtil.java:33)
at compbio.ws.client.Jws2Client.getServices(Unknown Source)
at compbio.ws.client.Jws2Client.listServices(Unknown Source)
at compbio.ws.client.Jws2Client.<init>(Unknown Source)
at compbio.ws.client.Jws2Client.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 5 more
Attachments
Issue Links
- related with
-
JWS-60 remove unused logger references
- Resolved