Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

Top patterns

  1. Failed to load the class from current classpath

    Check the name of the class not found in the message, and stop in a breakpoint in the loadClass() method. When it is stopped, check the current classpath and find the missing dependency.

  2. ClassLoader.loadClass() has thrown a ClassNotFoundException

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

    Check the source of this solution for more info

  3. Failed to load the class from current classpath

    Check the name of the class not found in the message, and stop in a breakpoint in the loadClass() method. When it is stopped, check the current classpath and find the missing dependency.


DescriptionException TypeEntry MethodWeb pages

Failed to load the class from current classpath

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClass
4388Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass4388

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
4213Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass4213

Failed to load the class from current classpath

java.lang.ClassNotFoundException
6 frames hidden
java.lang.ClassLoader.loadClass
4165Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass4165

ClassLoader.defineClass1() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass1
3050Web pages
UnsupportedClassVersionErrorClassLoader.defineClass13050

ClassLoader.defineClass1() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.defineClass1
2311Web pages
1Solution
NoClassDefFoundErrorClassLoader.defineClass12311

ClassLoader.loadLibrary() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
java.lang.ClassLoader.loadLibrary
2261Web pages
UnsatisfiedLinkErrorClassLoader.loadLibrary2261

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
2044Web pages
ClassNotFoundExceptionClassLoader.loadClass2044

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
2029Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass2029

ClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
1 frames hidden
java.lang.ClassLoader.defineClass
1959Web pages
1Solution
UnsupportedClassVersionErrorClassLoader.defineClass1959

ClassLoader.loadLibrary0() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
1 frames hidden
java.lang.ClassLoader.loadLibrary0
1755Web pages
UnsatisfiedLinkErrorClassLoader.loadLibrary01755

ClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
1 frames hidden
java.lang.ClassLoader.defineClass
1750Web pages
NoClassDefFoundErrorClassLoader.defineClass1750

ClassLoader.loadClassInternal() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
java.lang.ClassLoader.loadClassInternal
1748Web pages
ClassNotFoundExceptionClassLoader.loadClassInternal1748

ClassLoader.loadLibrary() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
2 frames hidden
java.lang.ClassLoader.loadLibrary
1741Web pages
UnsatisfiedLinkErrorClassLoader.loadLibrary1741

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
1439Web pages
ClassNotFoundExceptionClassLoader.loadClass1439

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClass
1345Web pages
ClassNotFoundExceptionClassLoader.loadClass1345

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
1275Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass1275

ClassLoader.defineClass0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.ClassLoader.defineClass0
1252Web pages
NoClassDefFoundErrorClassLoader.defineClass01252

ClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
1 frames hidden
java.lang.ClassLoader.defineClass
1176Web pages
NoClassDefFoundErrorClassLoader.defineClass1176

ClassLoader.defineClassCond() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
1 frames hidden
java.lang.ClassLoader.defineClassCond
1058Web pages
UnsupportedClassVersionErrorClassLoader.defineClassCond1058

ClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
2 frames hidden
java.lang.ClassLoader.defineClass
1050Web pages
UnsupportedClassVersionErrorClassLoader.defineClass1050

ClassLoader.defineClass1() has thrown a ClassFormatError

java.lang.ClassFormatError
java.lang.ClassLoader.defineClass1
866Web pages
ClassFormatErrorClassLoader.defineClass1866

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
9 frames hidden
java.lang.ClassLoader.loadClass
729Web pages
UnsupportedClassVersionErrorClassLoader.loadClass729

ClassLoader.defineClass1() has thrown an IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError
java.lang.ClassLoader.defineClass1
721Web pages
IncompatibleClassChangeErrorClassLoader.defineClass1721

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
676Web pages
ClassNotFoundExceptionClassLoader.loadClass676

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
673Web pages
ClassNotFoundExceptionClassLoader.loadClass673

ClassLoader.defineClass0() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
java.lang.ClassLoader.defineClass0
661Web pages
UnsupportedClassVersionErrorClassLoader.defineClass0661

ClassLoader.loadClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
8 frames hidden
java.lang.ClassLoader.loadClass
654Web pages
NoClassDefFoundErrorClassLoader.loadClass654

ClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
1 frames hidden
java.lang.ClassLoader.defineClass
645Web pages
UnsupportedClassVersionErrorClassLoader.defineClass645

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
615Web pages
ClassNotFoundExceptionClassLoader.loadClass615

ClassLoader.defineClass() has thrown a ClassFormatError

java.lang.ClassFormatError
1 frames hidden
java.lang.ClassLoader.defineClass
613Web pages
ClassFormatErrorClassLoader.defineClass613

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
9 frames hidden
java.lang.ClassLoader.loadClass
592Web pages
UnsupportedClassVersionErrorClassLoader.loadClass592

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
11 frames hidden
java.lang.ClassLoader.loadClass
584Web pages
UnsupportedClassVersionErrorClassLoader.loadClass584

ClassLoader.loadClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
10 frames hidden
java.lang.ClassLoader.loadClass
581Web pages
NoClassDefFoundErrorClassLoader.loadClass581

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.NullPointerException
3 frames hidden
java.lang.ClassLoader.loadClass
557Web pages
ClassNotFoundExceptionClassLoader.loadClass557

ClassLoader.defineClass() has thrown an IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError
1 frames hidden
java.lang.ClassLoader.defineClass
548Web pages
IncompatibleClassChangeErrorClassLoader.defineClass548

ClassLoader.loadClassInternal() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
11 frames hidden
java.lang.ClassLoader.loadClassInternal
527Web pages
NoClassDefFoundErrorClassLoader.loadClassInternal527

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
513Web pages
ClassNotFoundExceptionClassLoader.loadClass513

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
11 frames hidden
java.lang.ClassLoader.loadClass
507Web pages
UnsupportedClassVersionErrorClassLoader.loadClass507

ClassLoader.defineClass1() has thrown a VerifyError

java.lang.VerifyError
java.lang.ClassLoader.defineClass1
481Web pages
VerifyErrorClassLoader.defineClass1481

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
464Web pages
ClassNotFoundExceptionClassLoader.loadClass464

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
463Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass463

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
8 frames hidden
java.lang.ClassLoader.loadClass
454Web pages
UnsupportedClassVersionErrorClassLoader.loadClass454

ClassLoader.loadClassInternal() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClassInternal
432Web pages
ClassNotFoundExceptionClassLoader.loadClassInternal432

ClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
10 frames hidden
java.lang.ClassLoader.loadClass
414Web pages
UnsupportedClassVersionErrorClassLoader.loadClass414

ClassLoader.loadClassInternal() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
11 frames hidden
java.lang.ClassLoader.loadClassInternal
399Web pages
UnsupportedClassVersionErrorClassLoader.loadClassInternal399

ClassLoader.loadClassInternal() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClassInternal
393Web pages
ClassNotFoundExceptionClassLoader.loadClassInternal393

ClassLoader.defineClass1() has thrown a LinkageError

java.lang.LinkageError
java.lang.ClassLoader.defineClass1
392Web pages
LinkageErrorClassLoader.defineClass1392

ClassLoader.defineClass1() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.ClassLoader.defineClass1
375Web pages
OutOfMemoryErrorClassLoader.defineClass1375

ClassLoader.loadClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
9 frames hidden
java.lang.ClassLoader.loadClass
373Web pages
NoClassDefFoundErrorClassLoader.loadClass373

ClassLoader.defineClass() has thrown a VerifyError

java.lang.VerifyError
1 frames hidden
java.lang.ClassLoader.defineClass
372Web pages
VerifyErrorClassLoader.defineClass372
Package namePatterns foundSolution coverageSummary coverage
java.lang7927
java.util.concurrent4667
java.io4419
java.lang.reflect4019
java.awt2397
java.net2282
sun.reflect2209
java.util1921
javax.swing1636
java.security1033
javax.naming1017
java.sql803
sun.net.www.protocol.http740
sun.net.www.protocol.https718
sun.nio.ch466
sun.rmi.server381
sun.rmi.transport.tcp326
java.util.zip322
com.sun.jndi.ldap289
java.util.regex285
com.sun.org.apache.xerces.internal.impl269
sun.net.www.http261
java.nio.file257
com.sun.org.apache.xerces.internal.parsers247
javax.swing.plaf.basic240
sun.misc236
java.util.logging172
com.sun.org.apache.xerces.internal.jaxp168
java.util.jar162
java.beans160
javax.swing.text158
java.nio157
sun.rmi.registry151
java.util.stream143
javax.security.auth.login143
java.text143
javax.management.remote.rmi142
java.rmi137
javax.imageio135
sun.rmi.transport134
sun.nio.cs131
javax.net.ssl129
java.awt.event124
com.sun.org.apache.xalan.internal.xsltc.trax117
java.awt.image115
javax.security.auth115
java.nio.channels110
java.rmi.server92
java.util.concurrent.locks90
javax.naming.directory88
Package nameClass namePatterns foundSolution coverageSummary coverage
java.langClassLoader2678
java.langClass2157
java.langThread1300
java.langString320
java.langThrowable278
java.langSystem172
java.langRuntime146
java.langStringBuilder119
java.langSecurityManager97
java.langStringBuffer59
java.langInteger58
java.langObject49
java.langDouble47
java.langAbstractStringBuilder43
java.langProcessBuilder43
java.langException40
java.langThreadGroup34
java.langLong33
java.langFloat28
java.langStringCoding21
java.langRuntimeException19
java.langProcessImpl14
java.langEnum13
java.langThreadLocal12
java.langByte12
java.langClassLoader$NativeLibrary11
java.langCharacter10
java.langUNIXProcess9
java.langNumberFormatException8
java.langClassNotFoundException8
java.langError8
java.langNullPointerException6
java.langIterable6
java.langShort6
java.langMath4
java.langClassLoader$14
java.langSecurityException4
java.langBoolean4
java.langNoClassDefFoundError4
java.langShutdown3
java.langClassCastException3
java.langIllegalArgumentException3
java.langLinkageError3
java.langThreadLocal$ThreadLocalMap2
java.langProcessEnvironment2
java.langUNIXProcess$DeferredCloseInputStream2
java.langStringCoding$StringDecoder2
java.langClassloader2
java.langIllegalStateException2
java.langExceptionInInitializerError1
Package nameClass nameMethod namePatterns foundSolution coverage
java.langClassLoaderloadClass1833
java.langClassLoaderloadClassInternal378
java.langClassLoaderdefineClass186
java.langClassLoaderdefineClass199
java.langClassLoadergetResource31
java.langClassLoaderloadLibrary20
java.langClassLoadergetResources13
java.langClassLoaderdefineClass012
java.langClassLoaderdefineClassCond12
java.langClassLoadercheckPackageAccess10
java.langClassLoadergetResourceAsStream10
java.langClassLoaderresolveClass8
java.langClassLoaderdefineClassImpl7
java.langClassLoaderloadLibrary05
java.langClassLoaderfindBootstrapClass5
java.langClassLoaderfindSystemClass4
java.langClassLoaderresolveClass04
java.langClassLoadergetSystemClassLoader3
java.langClassLoadergetPackages3
java.langClassLoader<init>3
java.langClassLoaderpreDefineClass3
java.langClassLoadercheckName3
java.langClassLoadergetParent2
java.langClassLoaderloadLibrary12
java.langClassLoadergetSystemResource2
java.langClassLoaderfindLoadedClass2
java.langClassLoadercheckCerts2
java.langClassLoadercheckClassLoaderPermission2
java.langClassLoadergetSystemResourceAsStream2
java.langClassLoaderinitSystemClassLoader1
java.langClassLoadergetCallerClassLoader1
java.langClassLoaderloadLibraryWithClassLoader1
java.langClassLoadercheckCreateClassLoader1
java.langClassLoaderfindBootstrapClass01
java.langClassLoadergetClassLoadingLock1
java.langClassLoader__tc_getClassLoaderName1
java.langClassLoaderloadLibraryWithPath1
java.langClassLoaderdefinePackage1
java.langClassLoaderfindClass1
java.langClassLoaderloadClassHelper1
java.langClassLoaderdefineClass21
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.langClassLoaderloadClassClassNotFoundException531
java.langClassLoaderloadClassNoClassDefFoundError349
java.langClassLoaderloadClassUnsupportedClassVersionError110
java.langClassLoaderloadClassInternalClassNotFoundException99
java.langClassLoaderloadClassSecurityException90
java.langClassLoaderloadClassClassFormatError74
java.langClassLoaderloadClassInternalNoClassDefFoundError71
java.langClassLoaderloadClassOutOfMemoryError56
java.langClassLoaderloadClassIllegalStateException50
java.langClassLoaderdefineClassNoClassDefFoundError44
java.langClassLoaderdefineClass1NoClassDefFoundError43
java.langClassLoaderloadClassLinkageError40
java.langClassLoaderloadClassVertxException40
java.langClassLoaderloadClassNullPointerException38
java.langClassLoaderloadClassIncompatibleClassChangeError38
java.langClassLoaderloadClassStackOverflowError37
java.langClassLoaderloadClassInternalSecurityException33
java.langClassLoaderloadClassBundleException32
java.langClassLoaderloadClassVerifyError29
java.langClassLoaderloadClassRuntimeException27
java.langClassLoaderloadClassInternalUnsupportedClassVersionError23
java.langClassLoaderloadClassInternalClassFormatError21
java.langClassLoaderdefineClassClassNotFoundException19
java.langClassLoaderloadClassIllegalAccessError17
java.langClassLoaderloadClassIOException16
java.langClassLoaderloadClassInternalOutOfMemoryError14
java.langClassLoaderloadClassInternalIncompatibleClassChangeError14
java.langClassLoaderloadClassAccessControlException14
java.langClassLoaderdefineClassClassFormatError13
java.langClassLoaderdefineClass1ClassNotFoundException13
java.langClassLoaderdefineClassSecurityException13
java.langClassLoaderloadClassEclipseLazyStarter$TerminatingClassNotFoundException13
java.langClassLoaderdefineClassUnsupportedClassVersionError13
java.langClassLoaderdefineClassLinkageError10
java.langClassLoaderloadClassInternalIllegalStateException9
java.langClassLoaderloadClassInternalLinkageError9
java.langClassLoaderloadClassInternalNullPointerException9
java.langClassLoaderloadClassInternalBundleException9
java.langClassLoaderdefineClassIncompatibleClassChangeError9
java.langClassLoaderloadClassFileNotFoundException8
java.langClassLoaderdefineClassVerifyError8
java.langClassLoaderloadClassPluginException8
java.langClassLoaderloadClassInternalVerifyError7
java.langClassLoaderloadClassClassNotFoundException7
java.langClassLoaderloadLibraryUnsatisfiedLinkError7
java.langClassLoaderloadClassInvocationTargetException7
java.langClassLoadergetResourceNullPointerException7
java.langClassLoaderdefineClassIllegalAccessError6
java.langClassLoaderloadClassExceptionInInitializerError6
java.langClassLoadergetResourceStackOverflowError6