1. Explore
  2. »
  3. Java Runtime
  4. »
  5. java.lang
  6. »
  7. Class

java.langClass errorsJava Runtime

Top patterns

  1. Class not found in classpath, for the class referenced in Class.forName() method
    No solution
  2. Class.forName() has thrown a NoClassDefFoundError

    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

    Check the source of this solution for more info

  3. Class.forName0() has thrown a ClassNotFoundException
    No solution
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
1196Web pages
NoClassDefFoundErrorClass.forName0()1196

Class.forName() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
1 frames hidden
java.lang.Class.forName
1144Web pages
1Solution
NoClassDefFoundErrorClass.forName()1144

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
java.lang.Class.forName0
1126Web pages
ClassNotFoundExceptionClass.forName0()1126

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
8 frames hidden
java.lang.Class.forName
1122Web pages
ClassNotFoundExceptionClass.forName()1122

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

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredConstructors0
874Web pages
NoClassDefFoundErrorClass.getDeclaredConstructors0()874

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
java.lang.Class.forName0
824Web pages
ClassNotFoundExceptionClass.forName0()824

Failed to load a class specified by the class name as a string

java.lang.ClassNotFoundException
8 frames hidden
java.lang.Class.forName
819Web pages
1Solution
ClassNotFoundExceptionClass.forName()819

Class.privateGetDeclaredConstructors() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
1 frames hidden
java.lang.Class.privateGetDeclaredConstructors
817Web pages
NoClassDefFoundErrorClass.privateGetDeclaredConstructors()817

Class.getConstructor0() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructor0
793Web pages
1Solution
NoSuchMethodExceptionClass.getConstructor0()793

Unable to load the provided class through reflection

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredMethods0
706Web pages
1Solution
NoClassDefFoundErrorClass.getDeclaredMethods0()706

Class.getConstructor0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.lang.Class.getConstructor0
679Web pages
NoClassDefFoundErrorClass.getConstructor0()679

Unable to retrieve method from class using reflection

java.lang.NoSuchMethodException
java.lang.Class.getMethod
670Web pages
1Solution
NoSuchMethodExceptionClass.getMethod()670

Class.privateGetDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
1 frames hidden
java.lang.Class.privateGetDeclaredMethods
652Web pages
NoClassDefFoundErrorClass.privateGetDeclaredMethods()652

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.Class.forName
620Web pages
ClassNotFoundExceptionClass.forName()620

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
java.lang.Class.forName0
528Web pages
ClassNotFoundExceptionClass.forName0()528

Failed to load a class specified by the class name as a string

java.lang.ClassNotFoundException
7 frames hidden
java.lang.Class.forName
524Web pages
1Solution
ClassNotFoundExceptionClass.forName()524

Class.newInstance0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
java.lang.Class.newInstance0
486Web pages
NoClassDefFoundErrorClass.newInstance0()486

Class.newInstance() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
4 frames hidden
java.lang.Class.newInstance
482Web pages
NoClassDefFoundErrorClass.newInstance()482

Class.privateGetDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
5 frames hidden
java.lang.Class.privateGetDeclaredMethods
452Web pages
NoClassDefFoundErrorClass.privateGetDeclaredMethods()452

Class.getDeclaredField() has thrown a NoSuchFieldException

java.lang.NoSuchFieldException
java.lang.Class.getDeclaredField
429Web pages
1Solution
NoSuchFieldExceptionClass.getDeclaredField()429

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forName0
405Web pages
ClassNotFoundExceptionClass.forName0()405

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.Class.forName
397Web pages
ClassNotFoundExceptionClass.forName()397

Class.newInstance0() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstance0
394Web pages
InstantiationExceptionClass.newInstance0()394

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.Class.forName0
387Web pages
ClassNotFoundExceptionClass.forName0()387

Class.newInstance() has thrown an InstantiationException

java.lang.InstantiationException
1 frames hidden
java.lang.Class.newInstance
386Web pages
InstantiationExceptionClass.newInstance()386

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.Class.forName
384Web pages
ClassNotFoundExceptionClass.forName()384

Class.getMethod() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
8 frames hidden
java.lang.Class.getMethod
374Web pages
1Solution
NoClassDefFoundErrorClass.getMethod()374

Class.privateGetDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
8 frames hidden
java.lang.Class.privateGetDeclaredMethods
369Web pages
NoClassDefFoundErrorClass.privateGetDeclaredMethods()369

Class.classForName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.classForName
330Web pages
ClassNotFoundExceptionClass.classForName()330

Class.getDeclaredConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
1 frames hidden
java.lang.Class.getDeclaredConstructor
313Web pages
NoSuchMethodExceptionClass.getDeclaredConstructor()313

Class.getConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
1 frames hidden
java.lang.Class.getConstructor
307Web pages
NoSuchMethodExceptionClass.getConstructor()307

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
java.lang.Class.forName0
294Web pages
ClassNotFoundExceptionClass.forName0()294

Class.cast() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Class.cast
293Web pages
ClassCastExceptionClass.cast()293

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
java.lang.Class.forName
289Web pages
ClassNotFoundExceptionClass.forName()289

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.Class.forName
287Web pages
ClassNotFoundExceptionClass.forName()287

Class.getMethod0() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
9 frames hidden
java.lang.Class.getMethod0
273Web pages
NoClassDefFoundErrorClass.getMethod0()273

Class.getMethod() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
10 frames hidden
java.lang.Class.getMethod
272Web pages
1Solution
NoClassDefFoundErrorClass.getMethod()272

Class.getDeclaredConstructors0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredConstructors0
268Web pages
VerifyErrorClass.getDeclaredConstructors0()268

Class.privateGetDeclaredConstructors() has thrown a VerifyError

java.lang.VerifyError
1 frames hidden
java.lang.Class.privateGetDeclaredConstructors
266Web pages
VerifyErrorClass.privateGetDeclaredConstructors()266

Class.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.lang.Class.getDeclaredMethods
246Web pages
NoClassDefFoundErrorClass.getDeclaredMethods()246

Class.getConstructorOrMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructorOrMethod
246Web pages
NoSuchMethodExceptionClass.getConstructorOrMethod()246

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
java.lang.Class.forName
243Web pages
ClassNotFoundExceptionClass.forName()243

Class.newInstanceImpl() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstanceImpl
223Web pages
InstantiationExceptionClass.newInstanceImpl()223

Class.newInstance() has thrown an InstantiationException

java.lang.InstantiationException
1 frames hidden
java.lang.Class.newInstance
219Web pages
InstantiationExceptionClass.newInstance()219

Class.isAssignableFrom() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Class.isAssignableFrom
212Web pages
NullPointerExceptionClass.isAssignableFrom()212

Class.getDeclaredMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getDeclaredMethod
209Web pages
NoSuchMethodExceptionClass.getDeclaredMethod()209

Class.forName0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.forName0
206Web pages
VerifyErrorClass.forName0()206

Class.getConstructor0() has thrown a VerifyError

java.lang.VerifyError
2 frames hidden
java.lang.Class.getConstructor0
204Web pages
VerifyErrorClass.getConstructor0()204

Class.forName() has thrown a VerifyError

java.lang.VerifyError
1 frames hidden
java.lang.Class.forName
204Web pages
VerifyErrorClass.forName()204

Class.getDeclaredFields0() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
2 frames hidden
java.lang.Class.getDeclaredFields0
199Web pages
NoClassDefFoundErrorClass.getDeclaredFields0()199
Nothing to list here.
Nothing to list here.