»»»

java.langClass errorsJava Runtime

Top patterns

  1. Class not found in classpath, for the class referenced in Class.forName() method
    No solution
  2. Missing jar file containing class in WEB-INF/lib directory of the project
    No solution
  3. Class.getConstructor0() has thrown a NoSuchMethodException

    Thrown when a particular method cannot be found. You are probably using a newer version of Hibernate in your application while pre-packaged hibernate jars that come with JBoss are older.

Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Class not found in classpath, for the class referenced in Class.forName() method

java.lang.NoClassDefFoundError
java.lang.Class.forName0
1179Web pages
NoClassDefFoundErrorClass.forName01179

Missing jar file containing class in WEB-INF/lib directory of the project

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredConstructors0
867Web pages
NoClassDefFoundErrorClass.getDeclaredConstructors0867

Class.getConstructor0() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructor0
795Web pages
1Solution
NoSuchMethodExceptionClass.getConstructor0795

Unable to load the provided class through reflection

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredMethods0
689Web pages
1Solution
NoClassDefFoundErrorClass.getDeclaredMethods0689

Unable to retrieve method from class using reflection

java.lang.NoSuchMethodException
java.lang.Class.getMethod
669Web pages
1Solution
NoSuchMethodExceptionClass.getMethod669

Class.getDeclaredField() has thrown a NoSuchFieldException

java.lang.NoSuchFieldException
java.lang.Class.getDeclaredField
428Web pages
1Solution
NoSuchFieldExceptionClass.getDeclaredField428

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forName0
396Web pages
ClassNotFoundExceptionClass.forName0396

Class.newInstance0() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstance0
387Web pages
InstantiationExceptionClass.newInstance0387

Class.classForName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.classForName
290Web pages
ClassNotFoundExceptionClass.classForName290

Class.cast() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Class.cast
289Web pages
ClassCastExceptionClass.cast289

Class.getDeclaredConstructors0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredConstructors0
263Web pages
VerifyErrorClass.getDeclaredConstructors0263

Class.getConstructorOrMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructorOrMethod
242Web pages
NoSuchMethodExceptionClass.getConstructorOrMethod242

Class.newInstanceImpl() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstanceImpl
222Web pages
InstantiationExceptionClass.newInstanceImpl222

Class.getDeclaredMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getDeclaredMethod
211Web pages
NoSuchMethodExceptionClass.getDeclaredMethod211

Class.isAssignableFrom() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Class.isAssignableFrom
209Web pages
NullPointerExceptionClass.isAssignableFrom209

Class.forName0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.forName0
203Web pages
VerifyErrorClass.forName0203

Class.getDeclaredMethods0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredMethods0
195Web pages
VerifyErrorClass.getDeclaredMethods0195

Class.getDeclaredFields0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredFields0
185Web pages
NoClassDefFoundErrorClass.getDeclaredFields0185

Class.getField() has thrown a NoSuchFieldException

java.lang.NoSuchFieldException
java.lang.Class.getField
164Web pages
NoSuchFieldExceptionClass.getField164

Class.forName0() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Class.forName0
154Web pages
NullPointerExceptionClass.forName0154

Class.newInstance0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.newInstance0
144Web pages
NoClassDefFoundErrorClass.newInstance0144

Class.newInstance() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstance
133Web pages
1Solution
InstantiationExceptionClass.newInstance133

Class.forName0() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.lang.Class.forName0
125Web pages
ExceptionInInitializerErrorClass.forName0125

Class.newInstanceImpl() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.newInstanceImpl
122Web pages
VerifyErrorClass.newInstanceImpl122

Class.asSubclass() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Class.asSubclass
114Web pages
ClassCastExceptionClass.asSubclass114

Class.forNameImpl() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forNameImpl
75Web pages
ClassNotFoundExceptionClass.forNameImpl75

Class.getMethods0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getMethods0
71Web pages
NoClassDefFoundErrorClass.getMethods071

Class.getDeclaredFields0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredFields0
67Web pages
VerifyErrorClass.getDeclaredFields067

Class.forName0() has thrown a Throwable

java.lang.Throwable
java.lang.Class.forName0
66Web pages
ThrowableClass.forName066

Class.forName() has thrown a Throwable

java.lang.Throwable
java.lang.Class.forName
66Web pages
ThrowableClass.forName66

Class.initializeClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.initializeClass
62Web pages
NoClassDefFoundErrorClass.initializeClass62

Class.getSimpleName() has thrown an InternalError

java.lang.InternalError
java.lang.Class.getSimpleName
57Web pages
InternalErrorClass.getSimpleName57

Class.classForName() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.classForName
53Web pages
NoClassDefFoundErrorClass.classForName53

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forName
53Web pages
ClassNotFoundExceptionClass.forName53

Class.getDeclaredMethods0() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Class.getDeclaredMethods0
53Web pages
OutOfMemoryErrorClass.getDeclaredMethods053

Class.getConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructor
43Web pages
NoSuchMethodExceptionClass.getConstructor43

Class.newInstance() has thrown a BAD_OPERATION

org.omg.CORBA.BAD_OPERATION
5 frames hidden
java.lang.Class.newInstance
41Web pages
BAD_OPERATIONClass.newInstance41

Class.getMethod0() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getMethod0
40Web pages
NoSuchMethodExceptionClass.getMethod040

Class.newInstance0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.newInstance0
38Web pages
VerifyErrorClass.newInstance038

Class.forName0() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
java.lang.Class.forName0
38Web pages
ArrayIndexOutOfBoundsExceptionClass.forName038

Class.forName() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
1 frames hidden
java.lang.Class.forName
34Web pages
UnsatisfiedLinkErrorClass.forName34

Class.privateGetDeclaredMethods() has thrown a LinkageError

java.lang.LinkageError
1 frames hidden
java.lang.Class.privateGetDeclaredMethods
32Web pages
LinkageErrorClass.privateGetDeclaredMethods32

Class.newInstance0() has thrown an IllegalAccessException

java.lang.IllegalAccessException
java.lang.Class.newInstance0
31Web pages
IllegalAccessExceptionClass.newInstance031

Class.getConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
1 frames hidden
java.lang.Class.getConstructor
30Web pages
NoSuchMethodExceptionClass.getConstructor30

Class.newInstance() has thrown a RemoteException

java.rmi.RemoteException
1 frames hidden
java.lang.Class.newInstance
28Web pages
RemoteExceptionClass.newInstance28

Class.newInstanceImpl() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.lang.Class.newInstanceImpl
28Web pages
ExceptionInInitializerErrorClass.newInstanceImpl28

Class.privateGetDeclaredConstructors() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.lang.Class.privateGetDeclaredConstructors
28Web pages
OutOfMemoryErrorClass.privateGetDeclaredConstructors28

Class.newInstance0() has thrown an UNKNOWN

org.omg.CORBA.UNKNOWN
java.lang.Class.newInstance0
27Web pages
UNKNOWNClass.newInstance027

Class.forName1() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.forName1
26Web pages
NoClassDefFoundErrorClass.forName126

Class.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredMethods
24Web pages
NoClassDefFoundErrorClass.getDeclaredMethods24
Nothing to list here.
Nothing to list here.