Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.lang.NoClassDefFoundError

Status
Not open for further replies.

mydavor

Programmer
Mar 21, 2004
41
AU
When loading an applet, using Tomcat, I receive the error above. The jar containing the mentioned class and many other symantec classes is available in any possible directory and of course %CATALINA_HOME%\common\lib and is in the CLASSPATH. How can I fix the problem ??

java.lang.NoClassDefFoundError: com/symantec/itools/javax/swing/JLookAndFeelComboBox

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
 
Applets are do not use Tomcat's CLASSPATH, because tomcat is a servlet container - not an applet container.

You need to put the (unjarred) files relative to the applet, or specify an archive to load in the applet tag - ie :

<applet archive="myjar.jar,symantec.jar" ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top