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.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.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.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.loadClass() has thrown a ClassNotFoundException

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

ClassLoader.loadClass() has thrown a ClassNotFoundException

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

ClassLoader.loadClass() has thrown a ClassNotFoundException

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

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 a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
331Web pages
ClassNotFoundExceptionClassLoader.loadClass331

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
303Web pages
ClassNotFoundExceptionClassLoader.loadClass303

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
9 frames hidden
java.lang.ClassLoader.loadClass
303Web pages
ClassNotFoundExceptionClassLoader.loadClass303

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.io.IOException
7 frames hidden
java.lang.ClassLoader.loadClass
299Web pages
ClassNotFoundExceptionClassLoader.loadClass299

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
246Web pages
ClassNotFoundExceptionClassLoader.loadClass246

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
241Web pages
ClassNotFoundExceptionClassLoader.loadClass241

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
241Web pages
ClassNotFoundExceptionClassLoader.loadClass241

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
240Web pages
ClassNotFoundExceptionClassLoader.loadClass240

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
232Web pages
ClassNotFoundExceptionClassLoader.loadClass232

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
232Web pages
ClassNotFoundExceptionClassLoader.loadClass232

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
227Web pages
ClassNotFoundExceptionClassLoader.loadClass227

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
224Web pages
ClassNotFoundExceptionClassLoader.loadClass224

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
9 frames hidden
java.lang.ClassLoader.loadClass
222Web pages
ClassNotFoundExceptionClassLoader.loadClass222

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
211Web pages
ClassNotFoundExceptionClassLoader.loadClass211

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
180Web pages
ClassNotFoundExceptionClassLoader.loadClass180

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.ClassLoader.loadClass
179Web pages
ClassNotFoundExceptionClassLoader.loadClass179

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
162Web pages
ClassNotFoundExceptionClassLoader.loadClass162

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
153Web pages
ClassNotFoundExceptionClassLoader.loadClass153

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
java.lang.ClassLoader.loadClass
144Web pages
ClassNotFoundExceptionClassLoader.loadClass144

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.RuntimeException
5 frames hidden
java.lang.ClassLoader.loadClass
144Web pages
1Solution
ClassNotFoundExceptionClassLoader.loadClass144

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
8 frames hidden
java.lang.ClassLoader.loadClass
144Web pages
ClassNotFoundExceptionClassLoader.loadClass144

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClass
140Web pages
ClassNotFoundExceptionClassLoader.loadClass140

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
130Web pages
ClassNotFoundExceptionClassLoader.loadClass130

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
java.lang.ClassLoader.loadClass
129Web pages
ClassNotFoundExceptionClassLoader.loadClass129

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
129Web pages
ClassNotFoundExceptionClassLoader.loadClass129

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.io.IOException
6 frames hidden
java.lang.ClassLoader.loadClass
126Web pages
ClassNotFoundExceptionClassLoader.loadClass126

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
8 frames hidden
java.lang.ClassLoader.loadClass
102Web pages
ClassNotFoundExceptionClassLoader.loadClass102

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
java.lang.ClassLoader.loadClass
101Web pages
ClassNotFoundExceptionClassLoader.loadClass101

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
100Web pages
ClassNotFoundExceptionClassLoader.loadClass100

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
95Web pages
ClassNotFoundExceptionClassLoader.loadClass95

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
java.lang.ClassLoader.loadClass
95Web pages
ClassNotFoundExceptionClassLoader.loadClass95

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClass
95Web pages
ClassNotFoundExceptionClassLoader.loadClass95

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.ClassLoader.loadClass
88Web pages
ClassNotFoundExceptionClassLoader.loadClass88

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.lang.ClassLoader.loadClass
88Web pages
ClassNotFoundExceptionClassLoader.loadClass88

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
9 frames hidden
java.lang.ClassLoader.loadClass
86Web pages
ClassNotFoundExceptionClassLoader.loadClass86
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.langLinkageError3
java.langIllegalArgumentException3
java.langThreadLocal$ThreadLocalMap2
java.langProcessEnvironment2
java.langUNIXProcess$DeferredCloseInputStream2
java.langStringCoding$StringDecoder2
java.langClassloader2
java.langIllegalStateException2
java.langPackage1
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.langClassLoaderloadClassSecurityException90
java.langClassLoaderloadClassClassFormatError74
java.langClassLoaderloadClassOutOfMemoryError56
java.langClassLoaderloadClassIllegalStateException50
java.langClassLoaderloadClassLinkageError40
java.langClassLoaderloadClassVertxException40
java.langClassLoaderloadClassNullPointerException38
java.langClassLoaderloadClassIncompatibleClassChangeError38
java.langClassLoaderloadClassStackOverflowError37
java.langClassLoaderloadClassBundleException32
java.langClassLoaderloadClassVerifyError29
java.langClassLoaderloadClassRuntimeException27
java.langClassLoaderloadClassIllegalAccessError17
java.langClassLoaderloadClassIOException16
java.langClassLoaderloadClassAccessControlException14
java.langClassLoaderloadClassEclipseLazyStarter$TerminatingClassNotFoundException13
java.langClassLoaderloadClassFileNotFoundException8
java.langClassLoaderloadClassPluginException8
java.langClassLoaderloadClassClassNotFoundException7
java.langClassLoaderloadClassInvocationTargetException7
java.langClassLoaderloadClassExceptionInInitializerError6
java.langClassLoaderloadClassIllegalClassFormatException5
java.langClassLoaderloadClassException5
java.langClassLoaderloadClassHardDeadlineExceededError5
java.langClassLoaderloadClassThrowable5
java.langClassLoaderloadClassAbstractBundle$BundleStatusException5
java.langClassLoaderloadClassStringIndexOutOfBoundsException5
java.langClassLoaderloadClassZipException4
java.langClassLoaderloadClassWrappedDeploymentException4
java.langClassLoaderloadClassIllegalArgumentException4
java.langClassLoaderloadClassNoInitialContextException3
java.langClassLoaderloadClassNativeException3
java.langClassLoaderloadClassUnexpectedException3
java.langClassLoaderloadClassBeanCreationException3
java.langClassLoaderloadClassInvalidJarIndexException3
java.langClassLoaderloadClassTimeoutException3
java.langClassLoaderloadClassAssertionError3
java.langClassLoaderloadClassLogFactory3
java.langClassLoaderloadClassInternalError3
java.langClassLoaderloadClassDriver2
java.langClassLoaderloadClassClassCircularityError2
java.langClassLoaderloadClassExtendedClassNotFoundException2
java.langClassLoaderloadClassReflectionException2
java.langClassLoaderloadClassCoreException2
java.langClassLoaderloadClassArrayIndexOutOfBoundsException2
java.langClassLoaderloadClassHttpServletRequest2
java.langClassLoaderloadClassCertificateException2