Blaise
unread,May 2, 2013, 7:56:33 AM5/2/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Hi all@testng-dev,
Sorry in advance if this topic has been discussed before, but there is an interesting thing
happening when running TestNG from the command line:
java -classpath testng-6.8.1.jar org.testng.TestNG
Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException
Caused by: java.lang.ClassNotFoundException: com.beust.jcommander.ParameterException
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)
Is there anything I can do to avoid this issue? My JVM is following:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-10M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
Did JCommander become an external dependency that I now need to add separately to the classpath?
Thanks for your help,
Regards
B