Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
Javadoc
Thrown when an application tries to load in a class through its string name using:
  • The forName method in class Class.
  • The findSystemClass method in class ClassLoader .
  • The loadClass method in class ClassLoader.

but no definition for the class with the specified name could be found.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The "optional exception that was raised while loading the class" that may be provided at construction time and accessed via the {@link #getException()} method is now known as the cause, and may be accessed via the {@link Throwable#getCause()} method, as well as the aforementioned "legacy method." @author unascribed @see java.lang.Class#forName(java.lang.String) @see java.lang.ClassLoader#findSystemClass(java.lang.String) @see java.lang.ClassLoader#loadClass(java.lang.String, boolean) @since JDK1.0

at java.net.URLClassLoader$1.run
at java.net.URLClassLoader$1.run
at java.security.AccessController.doPrivileged
(source)
at java.net.URLClassLoader.findClass
(source)
at clojure.lang.DynamicClassLoader.findClass
(source)
at java.lang.ClassLoader.loadClass
(source)
at java.lang.ClassLoader.loadClass
(source)
at java.lang.Class.forName0
(source)
at java.lang.Class.forName
(source)
8 frames hidden

Typical Exception Messages

  1. lighttable.nrepl.core
  2. com.sun.jdi.VirtualMachine
  3. org.jclouds.ec2.services.ElasticBlockStoreClient
  4. com.google.javascript.jscomp.JSSourceFile
  5. org.clojure
  6. neko.log
  7. clojure.set
  8. com.sun.javadoc.ClassDoc
  9. org.apache.http.impl.conn.BasicClientConnectionManager
  10. org.virtualbox_4_3.IVirtualBox

Origin

ClassLoader.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
java.lang.ClassLoader.loadClass
39Web pages

Similar

Specific cases

External results for this pattern (35)

  1. skaurusvia Stack Overflow2 months ago
  2. Hugo Duncanvia Google Groups2 months ago
    com.sun.jdi.VirtualMachine
    Show stack trace
  3. Michael Klishinvia Google Groups2 months ago
    quote.(nl.bitwalker.useragentutils. UserAgent)
    Show stack trace
  4. Andy Smithvia Google Groups2 months ago
    org.clojure
    Show stack trace
  5. Andy Smithvia Google Groups2 months ago
  6. pjagielskivia GitHub6 months ago
    lighttable.nrepl.core
    Show stack trace
  7. tmbdevvia GitHub6 months ago
    org.jeromq.ZMQ
    Show stack trace
  8. Deepak Giridharagopalvia Google Groups1 year ago
    org.postgresql.jdbcDriver
    Show stack trace
  9. David Nolenvia Google Groups1 year ago