Page 1 of 2

NoClassDefFoundError

Posted: Wed Oct 30, 2013 7:19 pm
by harsh
Using the included applet_ftp_explorer.* (modified for the appropriate url, username, password and IPv6 fix), I get a NoClassDefFoundError. All lib/* files are where they should be.

The details show: jfileupload/transfer/client/http/C

All distributions are V3.2

The Java console shows a PASV connection to the FTP server is open:

Code: Select all

[INFO] MApplet - JFileUpload 3.2 Build FINAL.001
[INFO] MApplet - CustomSM enabled
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1
[INFO] Conf - TransferUI instantiated : jfileupload.transfer.client.explorer.ExplorerTransferUI
[INFO] ExplorerTransferUI - JDiskExplorer 3.2 FINAL.001
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1
[INFO] E - Connected to ftp://webster
[INFO] E - 220 ProFTPD 1.3.4a Server (Webster) [::ffff:10.0.1.80]

[INFO] E - PASV enabled
The JFileUpload applet_ftp.* works as expected and was modified identically.

Any ideas?

Re: NoClassDefFoundError

Posted: Thu Oct 31, 2013 5:46 pm
by support
Which license do you have? Did you mix binaries of packages from different license?
You cannot mix, it may explain the error.

Re: NoClassDefFoundError

Posted: Thu Oct 31, 2013 6:36 pm
by harsh
This is a new server and I don't think I've set up the registration yet. Ultimately, this will be a Pro installation. Will JDiskExplorer not work in demo mode?

The binaries are those from the download links on the respective product pages.

Now that you mention it, I think I have a V2.x Pro registration.

Re: NoClassDefFoundError

Posted: Fri Nov 01, 2013 12:32 pm
by support
Ok, it should work then. Does the online JDiskExplorer work for you?
http://www.jfileupload.com/products/dem ... lorer.html

Re: NoClassDefFoundError

Posted: Wed Nov 06, 2013 7:38 pm
by harsh
The online demo of JDiskExplorer works as expected.

Re: NoClassDefFoundError

Posted: Mon Jan 20, 2014 8:01 pm
by support
Found the problem in 3.2. Here is the fix:
Just add ",lib/httpimpl.jar" into all ARCHIVE parameters and make sure httpimpl.jar is available in lib/ folder.

Re: NoClassDefFoundError

Posted: Wed Jan 22, 2014 7:42 pm
by harsh
support wrote:Just add ",lib/httpimpl.jar" into all ARCHIVE parameters and make sure httpimpl.jar is available in lib/ folder.
That fixed the problem!

Thank you for your help.

Re: NoClassDefFoundError

Posted: Sun Feb 02, 2014 5:20 pm
by kg4izp1
I use the explorer, but I am not a programmer, can you show me where to put this information so that the applet works correctly without the error?

Re: NoClassDefFoundError

Posted: Tue Feb 18, 2014 4:46 pm
by vadims
I'm having the exact same issue. Tried the solution by including lib/httpimpl.jar into all ARCHIVE parameters and placing httpimpl.jar in lib/ folder. Still I got the "NoClassDefFoundError" error.
Will it work with the unregistered version?

I'm using:
Java Plug-in 10.51.2.13
JFileUpload 3.2

Java console:
[INFO] MApplet - JFileUpload 3.2 Build FINAL.001
[INFO] MApplet - CustomSM enabled
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1
[INFO] Conf - TransferUI instantiated : jfileupload.transfer.client.explorer.ExplorerTransferUI
[INFO] ExplorerTransferUI - JDiskExplorer 3.2 FINAL.001
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1
[INFO] D - Ftp simultaneous connections = 1
[INFO] E - Control encoding: ISO-8859-1

Re: NoClassDefFoundError

Posted: Thu Feb 20, 2014 6:42 pm
by support
It should work, are you sure you've updated all 3 ARCHIVE parameters in JavaScript with the missing lib?