NoClassDefFoundError

Explorer-like frontend add-on to upload/download.

NoClassDefFoundError

Postby harsh » Wed Oct 30, 2013 7:19 pm

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?
harsh
 
Posts: 4
Joined: Wed Oct 30, 2013 6:54 pm

Re: NoClassDefFoundError

Postby support » Thu Oct 31, 2013 5:46 pm

Which license do you have? Did you mix binaries of packages from different license?
You cannot mix, it may explain the error.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: NoClassDefFoundError

Postby harsh » Thu Oct 31, 2013 6:36 pm

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.
harsh
 
Posts: 4
Joined: Wed Oct 30, 2013 6:54 pm

Re: NoClassDefFoundError

Postby support » Fri Nov 01, 2013 12:32 pm

Ok, it should work then. Does the online JDiskExplorer work for you?
http://www.jfileupload.com/products/dem ... lorer.html
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: NoClassDefFoundError

Postby harsh » Wed Nov 06, 2013 7:38 pm

The online demo of JDiskExplorer works as expected.
harsh
 
Posts: 4
Joined: Wed Oct 30, 2013 6:54 pm

Re: NoClassDefFoundError

Postby support » Mon Jan 20, 2014 8:01 pm

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.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: NoClassDefFoundError

Postby harsh » Wed Jan 22, 2014 7:42 pm

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.
harsh
 
Posts: 4
Joined: Wed Oct 30, 2013 6:54 pm

Re: NoClassDefFoundError

Postby kg4izp1 » Sun Feb 02, 2014 5:20 pm

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?
kg4izp1
 
Posts: 1
Joined: Sun Feb 02, 2014 5:18 pm

Re: NoClassDefFoundError

Postby vadims » Tue Feb 18, 2014 4:46 pm

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
vadims
 
Posts: 4
Joined: Tue Feb 18, 2014 4:37 pm

Re: NoClassDefFoundError

Postby support » Thu Feb 20, 2014 6:42 pm

It should work, are you sure you've updated all 3 ARCHIVE parameters in JavaScript with the missing lib?
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Next

Return to JDiskExplorer




Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.