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/application/dao/CommentDAO : Unsupported major.minor version 52.0 (unable to load class org.synyx.urlaubsverwaltung.core.application.dao.CommentDAO)
  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/category/dao/CategoryDaoImpl : Unsupported major.minor version 51.0 (unable to load class com.salesmanager.core.business.catalog.category.dao.CategoryDaoImpl)

Origin

WebappClassLoader.loadClass() has thrown an UnsupportedClassVersionError

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

Similar

Specific cases

External results for this pattern (16)

  1. Unknown authorvia coderanch.com2 months ago
    Bad version number in .class file (unable to load class org.apache.commons.dbcp.BasicDataSource)
    Show stack trace
  2. Unknown authorvia appspot.com2 months ago
    Bad version number in .class file (unable to load class com.unitedcoders.demo.PersonServiceImpl)
    Show stack trace
  3. ElMerenderovia GitHub2 months 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 GitHub2 months ago
    org/synyx/urlaubsverwaltung/core/application/dao/CommentDAO : Unsupported major.minor version 52.0 (unable to load class org.synyx.urlaubsverwaltung.core.application.dao.CommentDAO)
    Show stack trace
  5. michael-conwayvia GitHub2 months 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/spring/AdditionalPropertySourceConfigurer : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.spring.AdditionalPropertySourceConfigurer)
    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/category/dao/CategoryDaoImpl : Unsupported major.minor version 51.0 (unable to load class com.salesmanager.core.business.catalog.category.dao.CategoryDaoImpl)
    Show stack trace