This document was generated from CDN thread
Created by: Kamran Khan on 06-10-2010 11:51:59 PM
Hi guys,
I am a quite new with AXL and java and needed some help getting my head round an error im getting while running the following java script.
What it should do is take a device name reset that phone by taking arguements as follows:
Syntax: resetDevice.java {hostname[:port]} {userid:pwd} {devicename} {soft|Hard}
I have attached the Java file resetDevice.class here as well.
The error I see is as follows:
C:\em>java resetDevice cmp1-pub ccmadmin:password SEP001E13E63E09 soft
Exception in thread "main" java.lang.NoClassDefFoundError: axlPost
at resetDevice.main(resetDevice.java:39)
Caused by: java.lang.ClassNotFoundException: axlPost
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
Any help would be greatly appreciated!!
Thanks in advance
Regards,
Kamran