Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.8k views
in Java FTP by (280 points)
i am having trouble with creating the ProFTPClient within an applet. When ever i use then line:

ftp = new ProFTPClient();

i get the following error at runtime:

java.lang.NoClassDefFoundError: com/enterprisedt/net/ftp/pro/ProFTPClient
at Test_ftp.init<Test_ftp.java:41>
at sun.applet.AppletPanel.run<AppletPanel.java:374>
at java.lang.Thread.run<Thread.java:595>

Old applets i am using as examples that use edt work fine, it is just when i have started to create new applets this error occurs. New java applications that i create using edt are working fine still.

Thanks Sam

8 Answers

0 votes
by (162k points)
For starters take the "new" out of the package name: com/enterprisedt/new/ftp/pro/ProFTPClient
0 votes
by (280 points)
sorry my bad its net, post edited
0 votes
by (162k points)
What version are you using? Can you enable logging and see if anything is printed to the Java console?
0 votes
by (280 points)
JCreator LE 3.50
jdk1.5.0_05
edtFTPj/Pro Full Version

Nothing is being printed to the console before and after the ftp = new ProFTPClient(); line
0 votes
by (162k points)
And what version of j/pro?
0 votes
by (280 points)
its 1.27
0 votes
by (162k points)
It's probably worth upgrading to the latest version. If you email us with your purchase details we'll provide you with the most recent version which we are using in an applet.
0 votes
by (280 points)
email sent thanks again

Categories

...