RE: [EXTERNAL] Re: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element

2019-07-11 Thread Hua, Gary - Saint Louis, MO - Contractor
: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element NoClassDefFoundError is not the same as ClassNotFoundException Typically a NoClassDefFoundError is due to a class failing its static initialisation when first loaded by the classloader. Can you check in your logs for any prior errors

Re: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element

2019-07-10 Thread Paul Carter-Brown
NoClassDefFoundError is not the same as ClassNotFoundException Typically a NoClassDefFoundError is due to a class failing its static initialisation when first loaded by the classloader. Can you check in your logs for any prior errors (even at bootup) relating to class failing to be loaded Paul

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-31 Thread Konstantin Kolinko
2010/5/31 Licht Jiang : > java.lang.NoClassDefFoundError: Could not initialize class > com.myservice.web.TestClass > "Could not initialize" = the class is found, but its initialization failed. There can be many reasons for that, e.g. 1) missing dependent classes, 2) exception is thrown when execut

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Licht Jiang
Thanks Charles for your help! >> java.lang.NoClassDefFoundError: Could not initialize class >> com.myservice.web.TestClass > > Show us the full stack trace(s); there are usually at least two in cases like > this. Now I have no access to the service. >> But class "TestClass" is in "WEB-INF/class

RE: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Caldarale, Charles R
> From: Licht Jiang [mailto:licht.ji...@gmail.com] > Subject: java.lang.NoClassDefFoundError: Could not initialize class > > java.lang.NoClassDefFoundError: Could not initialize class > com.myservice.web.TestClass Show us the full stack trace(s); there are usually at least two in cases like this