I am using the edtftpj in my signed applet to upload file from client machine to web server throug the browser (test on the firefox3.5.2).
However, it thows exception:
Exception in thread "thread applet-upload.class-1" java.lang.NoClassDefFoundError: com/enterprisedt/net/ftp/FileTransferClient
at upload.init(upload.java:24)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.enterprisedt.net.ftp.FileTransferClient
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 3 more
Caused by: java.io.IOException: open HTTP connection failed:myfolder/enterprisedt/net/ftp/FileTransferClient.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
and the error message in the error console: uncaught exception: Error calling method on NPObject! [plugin exception: java.lang.reflect.InvocationTargetException]
What's the problem of my java program? Can anybody help?