URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushop_applets_shopcart
Thread Number: 73
[ Go back to previous page ]

Original Message
"Can get the applets to work"

Posted by kgbvegas [kgbvegas@lvcm.com] on at 02:06 AM
I am getting 2 messages, can find applet, and an exception error

http://www.collectorsgalleryvegas.com/test.html

I used to have another version of this and it worked great. Can you please help?


Table of contents

Messages in this discussion
"RE: Can get the applets to work"
Posted by Bill Weiner on at 06:26 AM
I took a look at your site and noticed that you are getting two error messages:

error: java.lang.NoClassDefFoundError: uShopCartBase
error: java.lang.NoClassDefFoundError: uShopInternational

... which is a good indication that you do not have all of the required class files in your "classes" directory.

In fact, based on your codebase setting, you can verify that those classes are missing by trying to go to the URLs:

http://www.collectorsgalleryvegas.com/classes/uShopCartBase.class
http://www.collectorsgalleryvegas.com/classes/uShopInternational.class

So to correct the problem, make sure you put ALL of the uShop 3.x class files in your "classes" directory.

On a side note (unrelated to the above problem), I see that you are using the full URL of your classes directory for the CODEBASE setting of your applets. That is fine to do, however, it will be much easier in the long run in you can arrange your store's directory structure so that you can set the CODEBASE to be simply:

codebase="../classes/"

... which is the default codebase for uShop 3.x. See the following URL for more information about the recommended directory structure/codebase setting:

http://www.uburst.com/uShop/codebase.html


"RE: Can get the applets to work"
Posted by Ken Bravin [kgbvegas@lvcm.com] on at 01:05 AM
THANKS