ClassUtils.resolveClassName() 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 org.apache.catalina.loader.WebappClassLoader.loadClass
at org.apache.catalina.loader.WebappClassLoader.loadClass
at org.springframework.util.ClassUtils.forName
(source)
at org.springframework.util.ClassUtils.resolveClassName
(source)
3 frames hidden

Typical Exception Messages

  1. org.hibernate.cfg.AnnotationConfiguration
  2. com.training.ws.soap.PaymentProcessor
  3. com.objectdb.jpa.Provider
  4. com.contactmanager.dao.Contact
  5. kent.project.universe.Component
  6. com.anand.model.Employee
  7. org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder
  8. test.granite.spring.entity.AbstractEntity
  9. javax.portlet.PortletMode

Origin

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.springframework.util.ClassUtils.forName
148Web pages

Similar

Specific cases

External results for this pattern (8)

  1. Unknown authorvia nabble.com2 months ago
  2. Nileshvia Stack Overflow3 months ago
    com.contactmanager.dao.Contact
    Show stack trace
  3. Unknown authorvia yahoo.com3 months ago
    test.granite.spring.entity.AbstractEntity
    Show stack trace
  4. Malcolm Wong Hovia continuum-users3 months ago
    org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder
    Show stack trace
  5. HectorM Riveravia Coderanch1 year ago
    org.hibernate.cfg.AnnotationConfiguration
    Show stack trace
  6. Unknown authorvia coderanch.com2 years ago
    org.hibernate.cfg.AnnotationConfiguration
    Show stack trace