ClassUtils.forName() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
Javadoc
Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported. @since 1.2
at org.apache.catalina.loader.WebappClassLoader.findClassInternal
at org.apache.catalina.loader.WebappClassLoader.findClass
at org.apache.catalina.loader.WebappClassLoader.loadClass
at org.apache.catalina.loader.WebappClassLoader.loadClass
at org.springframework.util.ClassUtils.forName
(source)
4 frames hidden

Typical Exception Messages

  1. com/denimgroup/threadfix/webapp/filter/CsrfPreventionFilter : Unsupported major.minor version 51.0 (unable to load class com.denimgroup.threadfix.webapp.filter.CsrfPreventionFilter)
  2. Bad version number in .class file (unable to load class org.apache.commons.dbcp.BasicDataSource)
  3. se/kth/example-project/webservices/rest/CategoryController : Unsupported major.minor version 52.0 (unable to load class se.kth.example-project.webservices.rest.CategoryController)
  4. jp/sample/jaxrs/service/HelloResource : Unsupported major.minor version 52.0 (unable to load class jp.sample.jaxrs.service.HelloResource)
  5. org/synyx/urlaubsverwaltung/core/person/PersonDAO : Unsupported major.minor version 52.0 (unable to load class org.synyx.urlaubsverwaltung.core.person.PersonDAO)
  6. org/irods/jargon/rest/commands/ServiceFunctionFactoryImpl : Unsupported major.minor version 52.0 (unable to load class org.irods.jargon.rest.commands.ServiceFunctionFactoryImpl)
  7. org/apache/tomcat/jdbc/pool/DataSource : Unsupported major.minor version 51.0 (unable to load class org.apache.tomcat.jdbc.pool.DataSource)
  8. Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)
  9. com/parashift/onlyoffice/CallBack : Unsupported major.minor version 52.0 (unable to load class com.parashift.onlyoffice.CallBack)
  10. com/salesmanager/core/business/catalog/product/dao/attribute/ProductOptionDaoImpl : Unsupported major.minor version 51.0 (unable to load class com.salesmanager.core.business.catalog.product.dao.attribute.ProductOptionDaoImpl)

Origin

WebappClassLoader.loadClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
3 frames hidden
org.apache.catalina.loader.WebappClassLoader.loadClass
113Web pages

Similar

Specific cases

External results for this pattern (16)

  1. Unknown authorvia coderanch.com3 weeks ago
    Bad version number in .class file (unable to load class org.apache.commons.dbcp.BasicDataSource)
    Show stack trace
  2. Unknown authorvia appspot.com3 weeks ago
    Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)
    Show stack trace
  3. ElMerenderovia GitHub4 weeks ago
    org/irods/jargon/rest/commands/ServiceFunctionFactoryImpl : Unsupported major.minor version 52.0 (unable to load class org.irods.jargon.rest.commands.ServiceFunctionFactoryImpl)
    Show stack trace
  4. kevinkleistvia GitHub1 month ago
    org/synyx/urlaubsverwaltung/core/person/PersonDAO : Unsupported major.minor version 52.0 (unable to load class org.synyx.urlaubsverwaltung.core.person.PersonDAO)
    Show stack trace
  5. michael-conwayvia GitHub1 month ago
    org/irods/jargon/rest/commands/ServiceFunctionFactoryImpl : Unsupported major.minor version 52.0 (unable to load class org.irods.jargon.rest.commands.ServiceFunctionFactoryImpl)
    Show stack trace
  6. KurenaiShikivia Google Groups1 year ago
    com/example/connector/HelloWorldConnectorType : Unsupported major.minor version 51.0 (unable to load class com.example.connector.HelloWorldConnectorType)
    Show stack trace
  7. dubimavia GitHub1 year ago
    org/libresonic/player/dao/PlayerDao : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.dao.PlayerDao)
    Show stack trace
  8. karen mansukhanivia Coderanch1 year ago
    Bad version number in .class file (unable to load class org.apache.commons.dbcp.BasicDataSource)
    Show stack trace
  9. Unknown authorvia Google Groups1 year ago
    com/denimgroup/threadfix/webapp/filter/CsrfPreventionFilter : Unsupported major.minor version 51.0 (unable to load class com.denimgroup.threadfix.webapp.filter.CsrfPreventionFilter)
    Show stack trace
  10. Unknown authorvia Google Groups1 year ago
    com/salesmanager/core/business/catalog/product/dao/attribute/ProductOptionDaoImpl : Unsupported major.minor version 51.0 (unable to load class com.salesmanager.core.business.catalog.product.dao.attribute.ProductOptionDaoImpl)
    Show stack trace