»»»

java.langClassLoader errorsJava Runtime

Top patterns

  1. Class version incompatible with current JRE version
    No solution
  2. Unable to find library file in java library path
    No solution
  3. Incompatible dependency version or class not found in classpath

    Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

    Check the source of this solution for more info

Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Class version incompatible with current JRE version

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass1
3059Web pages
UnsupportedClassVersionErrorClassLoader.defineClass13059

Unable to find library file in java library path

java.lang.UnsatisfiedLinkError
java.lang.ClassLoader.loadLibrary
2335Web pages
UnsatisfiedLinkErrorClassLoader.loadLibrary2335

Incompatible dependency version or class not found in classpath

java.lang.NoClassDefFoundError
java.lang.ClassLoader.defineClass1
2269Web pages
1Solution
NoClassDefFoundErrorClassLoader.defineClass12269

Trying to run application as standalone instead of inside a container or application server

java.lang.ClassFormatError
java.lang.ClassLoader.defineClass1
878Web pages
ClassFormatErrorClassLoader.defineClass1878

Conflict between library/dependency versions

java.lang.IncompatibleClassChangeError
java.lang.ClassLoader.defineClass1
687Web pages
IncompatibleClassChangeErrorClassLoader.defineClass1687

Class version not compatible with JRE

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass0
644Web pages
UnsupportedClassVersionErrorClassLoader.defineClass0644

ClassLoader.defineClass1() has thrown a VerifyError

java.lang.VerifyError
java.lang.ClassLoader.defineClass1
479Web pages
VerifyErrorClassLoader.defineClass1479

ClassLoader.defineClass1() has thrown a LinkageError

java.lang.LinkageError
java.lang.ClassLoader.defineClass1
378Web pages
LinkageErrorClassLoader.defineClass1378

ClassLoader.checkCerts() has thrown a SecurityException

java.lang.SecurityException
java.lang.ClassLoader.checkCerts
350Web pages
SecurityExceptionClassLoader.checkCerts350

ClassLoader.defineClass1() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.ClassLoader.defineClass1
348Web pages
OutOfMemoryErrorClassLoader.defineClass1348

ClassLoader.findClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.ClassLoader.findClass
269Web pages
ClassNotFoundExceptionClassLoader.findClass269

ClassLoader.defineClass0() has thrown a ClassFormatError

java.lang.ClassFormatError
java.lang.ClassLoader.defineClass0
260Web pages
ClassFormatErrorClassLoader.defineClass0260

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.ClassLoader.loadClass
176Web pages
ClassNotFoundExceptionClassLoader.loadClass176

ClassLoader.defineClass1() has thrown an IllegalAccessError

java.lang.IllegalAccessError
java.lang.ClassLoader.defineClass1
132Web pages
IllegalAccessErrorClassLoader.defineClass1132

ClassLoader.findBootstrapClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.findBootstrapClass
103Web pages
NoClassDefFoundErrorClassLoader.findBootstrapClass103

ClassLoader.loadClass() has thrown a Throwable

java.lang.Throwable
java.lang.ClassLoader.loadClass
95Web pages
ThrowableClassLoader.loadClass95

ClassLoader.preDefineClass() has thrown a SecurityException

java.lang.SecurityException
java.lang.ClassLoader.preDefineClass
90Web pages
SecurityExceptionClassLoader.preDefineClass90

ClassLoader.loadLibrary0() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
java.lang.ClassLoader.loadLibrary0
84Web pages
UnsatisfiedLinkErrorClassLoader.loadLibrary084

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
84Web pages
ClassNotFoundExceptionClassLoader.loadClass84

ClassLoader.loadLibraryWithPath() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
java.lang.ClassLoader.loadLibraryWithPath
80Web pages
UnsatisfiedLinkErrorClassLoader.loadLibraryWithPath80

ClassLoader.defineClass() has thrown a Throwable

java.lang.Throwable
java.lang.ClassLoader.defineClass
68Web pages
ThrowableClassLoader.defineClass68

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
66Web pages
ClassNotFoundExceptionClassLoader.loadClass66

ClassLoader.defineClassCond() has thrown a Throwable

java.lang.Throwable
java.lang.ClassLoader.defineClassCond
62Web pages
ThrowableClassLoader.defineClassCond62

ClassLoader.defineClass() has thrown a SecurityException

java.lang.SecurityException
java.lang.ClassLoader.defineClass
60Web pages
SecurityExceptionClassLoader.defineClass60

ClassLoader.defineClass0() has thrown a VerifyError

java.lang.VerifyError
java.lang.ClassLoader.defineClass0
58Web pages
VerifyErrorClassLoader.defineClass058

ClassLoader.defineClassImpl() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClassImpl
56Web pages
UnsupportedClassVersionErrorClassLoader.defineClassImpl56

ClassLoader.defineClassImpl() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.defineClassImpl
53Web pages
NoClassDefFoundErrorClassLoader.defineClassImpl53

ClassLoader.defineClass1() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.ClassLoader.defineClass1
52Web pages
StackOverflowErrorClassLoader.defineClass152

ClassLoader.defineClass0() has thrown a LinkageError

java.lang.LinkageError
java.lang.ClassLoader.defineClass0
43Web pages
LinkageErrorClassLoader.defineClass043

ClassLoader.loadClass() has thrown a ThreadGroup

java.lang.ThreadGroup
java.lang.ClassLoader.loadClass
42Web pages
ThreadGroupClassLoader.loadClass42

ClassLoader.loadLibrary() has thrown an InternalError

java.lang.InternalError
2 frames hidden
java.lang.ClassLoader.loadLibrary
35Web pages
InternalErrorClassLoader.loadLibrary35

ClassLoader.defineClass() has thrown a ClassFormatError

java.lang.ClassFormatError
java.lang.ClassLoader.defineClass
31Web pages
ClassFormatErrorClassLoader.defineClass31

ClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass
31Web pages
UnsupportedClassVersionErrorClassLoader.defineClass31

ClassLoader.initSystemClassLoader() has thrown an IllegalStateException

java.lang.IllegalStateException
java.lang.ClassLoader.initSystemClassLoader
30Web pages
IllegalStateExceptionClassLoader.initSystemClassLoader30

ClassLoader.loadClass() has thrown a FMLLaunchHandler

net.minecraftforge.fml.relauncher.FMLLaunchHandler
java.lang.ClassLoader.loadClass
25Web pages
FMLLaunchHandlerClassLoader.loadClass25

ClassLoader.defineClass() has thrown a FMLLaunchHandler

net.minecraftforge.fml.relauncher.FMLLaunchHandler
java.lang.ClassLoader.defineClass
25Web pages
FMLLaunchHandlerClassLoader.defineClass25

ClassLoader.loadClassInternal() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.ClassLoader.loadClassInternal
24Web pages
ClassNotFoundExceptionClassLoader.loadClassInternal24

ClassLoader.resolveClass() has thrown a VerifyError

java.lang.VerifyError
java.lang.ClassLoader.resolveClass
24Web pages
VerifyErrorClassLoader.resolveClass24

ClassLoader.preDefineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.preDefineClass
23Web pages
NoClassDefFoundErrorClassLoader.preDefineClass23

ClassLoader.loadClass() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
java.lang.ClassLoader.loadClass
23Web pages
NullPointerExceptionClassLoader.loadClass23

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
23Web pages
ClassNotFoundExceptionClassLoader.loadClass23

ClassLoader.defineClassImpl() has thrown a LinkageError

java.lang.LinkageError
java.lang.ClassLoader.defineClassImpl
23Web pages
LinkageErrorClassLoader.defineClassImpl23

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
23Web pages
ClassNotFoundExceptionClassLoader.loadClass23

ClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.defineClass
22Web pages
NoClassDefFoundErrorClassLoader.defineClass22

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
22Web pages
ClassNotFoundExceptionClassLoader.loadClass22

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
21Web pages
ClassNotFoundExceptionClassLoader.loadClass21

ClassLoader.defineClass() has thrown an IllegalAccessError

java.lang.IllegalAccessError
1 frames hidden
java.lang.ClassLoader.defineClass
20Web pages
IllegalAccessErrorClassLoader.defineClass20

ClassLoader.defineClass2() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass2
20Web pages
UnsupportedClassVersionErrorClassLoader.defineClass220

ClassLoader.defineClass() has thrown a ThreadGroup

java.lang.ThreadGroup
java.lang.ClassLoader.defineClass
19Web pages
ThreadGroupClassLoader.defineClass19

ClassLoader.defineClass() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
java.lang.ClassLoader.defineClass
18Web pages
UnsupportedOperationExceptionClassLoader.defineClass18
Nothing to list here.
Nothing to list here.