View Single Post
  #1 (permalink)  
Old 08-02-2007, 02:48 PM
J_a_y J_a_y is offline
Member
 
Join Date: Aug 2007
Posts: 2
J_a_y is on a distinguished road
java.lang.NoClassDefFoundError
Hi Guys,

We have just upgraded the JRE to ver1.5.09 on all machines. Unfortunately, this has caused an applet on one specific site not to work any more. Ordinarily we would just downgrade the JRE to the previous version which we know worked or, failing that, simply reghost the machine.

The problem is that one particular machine, one of our many HP Compaq DC7100 workstations, has decided not to play along. The last stable version installed was 1.4.1.05 which worked with out webEIS site. However, since upgrading to 1.5 the user has had problems. Even after ghosting the PC with the last installed version of JRE1.4.1.05 the webEIS applet will not run. It comes up with java.lang.NoClassDefFoundError

I have tried everything I can think of - both with and without the MSJVM. I've tried upgrading to the latest JRE 6.0.02. I've tried a clean install of each of the JRE versions so that is the only version installed. No luck. I've checked the JAVA_HOME which looks okay. Everything else I found on the web relates to this error when developing your own applet however this is not the case and nothing on the site has been changed.

The problem PC in question is XP SP2 however we are also able to replicate this problem on XP SP1. Below is the Java console log:
java.lang.NoClassDefFoundError: com/sas/apps/webEIS/viewer/DataPlayerApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(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)
Any help on this issue would be greatly appreciated.
Many thanks in advance,
Jay

Last edited by J_a_y : 08-02-2007 at 02:51 PM. Reason: typo
Reply With Quote
Sponsored Links