Menu

#50 GUIReplayer - Import Failure

open
nobody
None
5
2010-03-25
2010-03-25
Bria Smith
No

When executing the unit tests for GUIReplayer-Plugin-JFC via the command "ant -f GUIReplayer-Plugin-JFC/tests/build.xml all", the JFCReplayerTest fails due to a class not found error. Unlike the other errors of a similar nature, the class being referred to does not exist elsewhere within the GUITAR framework. It must be imported from the Java API. JFCReplayerTest.java contains the line "import org.kohsuke.args4j.CmdLineException", but the import seems to fail.

Output:

Error Message

org/kohsuke/args4j/CmdLineException

Stacktrace

java.lang.NoClassDefFoundError: org/kohsuke/args4j/CmdLineException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
Caused by: java.lang.ClassNotFoundException: org.kohsuke.args4j.CmdLineException
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Reported By: Bria Smith, Alex Lockyear, Arya Bhatt, Jonathan Kay, Michael Braun, Paul Goldin

Discussion


Log in to post a comment.

MongoDB Logo MongoDB