Jsystem AutoITAgent does not work - java.lang.NoClassDefFoundError: org/apache/xmlrpc/WebServer

Posted by lasombra on Stack Overflow See other posts from Stack Overflow or by lasombra
Published on 2010-04-12T08:43:39Z Indexed on 2010/04/12 9:53 UTC
Read the original article Hit count: 469

Filed under:

Even so the jar files exists and are in the correct folder, I get the NoClassDefFoundError. Why? What I am doing wrong?

The Classpath definition is .\thirdparty\lib\;C:\jsystem\runner\lib\ant-jsystem.jar;C:jsystem\runner\lib\cli.jar;C:\jsystem\runner\lib\commons-logging-1.1.jar;C:\jsystem\runner\lib\embeddedCatalina.jar;C:\jsystem\runner\lib\fileParser.jar;C:\jsystem\runner\lib\filetransfer.jar;C:\jsystem\runner\lib\j2autoit.jar;C:\jsystem\runner\lib\jsystem-launcher.jar;C:\jsystem\runner\lib\jsystemAgent.jar;C:\jsystem\runner\lib\jsystemApp.jar;C:\jsystem\runner\lib\jsystemCommon.jar;C:\jsystem\runner\lib\jsystemCore.jar;C:\jsystem\runner\lib\snmp.jar;C:\jsystem\runner\lib\stations.jar;C:\jsystem\runner\lib\swing.jar;C:\jsystem\runner\lib\tcl.jar;C:\jsystem\runner\lib\vbshell.jar;C:\jsystem\runner\lib\web.jar;C:\jsystem\runner\lib\wget.jar;
C:\jsystem\runner\lib\xmlrpc-client-3.1.3.jar;
C:\jsystem\runner\lib\xmlrpc-common-3.1.3.jar;
C:\jsystem\runner\lib\xmlrpc-server-3.1.3.jar;
C:\jsystem\runner\lib\j2autoit\j2autoit.jar
C:\jsystem\runner
Setting J2AutoIt Agent to use the port: 8888
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlrpc/WebServer
   at com.jsystem.j2autoit.AutoItAgent.startAutoItWebServer(AutoItAgent.java:665)
   at com.jsystem.j2autoit.AutoItAgent.main(AutoItAgent.java:348)
   Caused by: java.lang.ClassNotFoundException: org.apache.xmlrpc.WebServer
      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)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      ... 2 more

© Stack Overflow or respective owner

Related posts about java