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, compiling:(/private/var/folders/kv/qnw3b8g10333ztfsd73_st5r0000gn/T/form-init6994458491899885360.clj:1:1063)
  2. com.sun.jdi.VirtualMachine
  3. org.jclouds.ec2.services.ElasticBlockStoreClient (ebs2.clj:37)
  4. com.google.javascript.jscomp.JSSourceFile
  5. <No message>
  6. clojure.set, compil ing:(clojure/contrib/accumulators.clj:121)
  7. com.sun.javadoc.ClassDoc, compiling:(cider/nrepl/middleware/util/java/parser.clj:1:1)
  8. org.apache.http.impl.conn.BasicClientConnectionManager
  9. org.virtualbox_4_3.IVirtualBox
  10. clojure.tools.nrepl.server, compiling:(NO_SOURCE_PATH:1:642)

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 Overflow4 months ago
    java.lang.ClassNotFoundException: hello.core
    Show stack trace
  2. Hugo Duncanvia Google Groups4 months ago
    com.sun.jdi.VirtualMachine
    Show stack trace
  3. Michael Klishinvia Google Groups4 months ago
    quote.(nl.bitwalker .useragentutils.UserAgent), compiling:(core.clj:1)
    Show stack trace
  4. Andy Smithvia Google Groups4 months ago
    org.clojure (project.clj:1)
    Show stack trace
  5. Andy Smithvia Google Groups4 months ago
    org.clojure (project.clj:1)
    Show stack trace
  6. ArturSkowronskivia GitHub4 months ago
    lighttable.nrepl.core, compiling:(/private/var/folders/kv/qnw3b8g10333ztfsd73_st5r0000gn/T/form-init6994458491899885360.clj:1:1063)
    Show stack trace
  7. pjagielskivia GitHub7 months ago
    lighttable.nrepl.core, compiling:(/private/var/folders/mr/8_72b3r13631y6hwx2d78y20l118w9/T/form-init6025032780506562061.clj:1:1250)
    Show stack trace
  8. tmbdevvia GitHub7 months ago
    org.jeromq.ZMQ, compiling:(core.clj:1:1)
    Show stack trace
  9. Deepak Giridharagopalvia Google Groups1 year ago
    org.postgresql.jdbcDriver
    Show stack trace
  10. David Nolenvia Google Groups1 year ago