ClassUtils.forName() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
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.WebappClassLoaderBase.findClassInternal
at org.apache.catalina.loader.WebappClassLoaderBase.findClass
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass
at org.springframework.util.ClassUtils.forName
LinkageError if the class file could not be loaded
5 lines hidden

Matching stack traces (4)

  1. gerroonvia GitHub11 months ago
    Error loading class [org.libresonic.player.dao.PlayerDao] for bean with name 'playerDao' defined in ServletContext resource [/ [11/1818] WEB-INF/applicationContext-service.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: org/libresonic/player/dao/PlayerDao : Unsuppo rted major.minor version 52.0 (unable to load class org.libresonic.player.dao.PlayerDao)
  2. littleffoxvia GitHub1 year ago
    Failed to read candidate component class: file [C:\Users\bWX419954\workspace_mars\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\SpringBasicDemo\WEB-INF\classes\com\demo\extra\WeekDayImpl_Sunday_Condition.class]; nested exception is java.lang.IllegalArgumentException: Error loading class [com.demo.condition.ConditionCreateBean]: problem with class file or dependent class.
  3. chatainsimvia GitHub1 year ago
    Error loading class [org.libresonic.player.dao.PlayerDao] for bean with name 'playerDao' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: org/libresonic/player/dao/PlayerDao : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.dao.PlayerDao)
  4. jooolavia GitHub1 year ago
    org/libresonic/player/spring/AdditionalPropertySourceConfigurer : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.spring.AdditionalPropertySourceConfigurer)

See Also

Parent

42 web pages  - WebappClassLoaderBase.loadClass() has thrown an UnsupportedClassVersionError
java.lang.UnsupportedClassVersionError
    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal()
    at org.apache.catalina.loader.WebappClassLoaderBase.findClass()
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()

Siblings

  • 26 web pages  - DefaultInstanceManager.newInstance() has thrown an UnsupportedClassVersionError
    java.lang.UnsupportedClassVersionError
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal()
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at org.apache.catalina.core.DefaultInstanceManager.loadClass()
        at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged()
        at org.apache.catalina.core.DefaultInstanceManager.newInstance()
  • 5 web pages  - Class.forName() has thrown an UnsupportedClassVersionError
    java.lang.UnsupportedClassVersionError
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal()
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at java.lang.Class.forName0()
        at java.lang.Class.forName()
  • 2 web pages  - IOUtils.isAtmosphere() has thrown an UnsupportedClassVersionError
    java.lang.UnsupportedClassVersionError
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal()
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
        at org.atmosphere.util.IOUtils.isAtmosphere()

Typical exception messages

  1. 2 crashes - org/libresonic/player/dao/PlayerDao : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.dao.PlayerDao)
  2. 1 crashes - org/libresonic/player/spring/AdditionalPropertySourceConfigurer : Unsupported major.minor version 52.0 (unable to load class org.libresonic.player.spring.AdditionalPropertySourceConfigurer)
  3. 1 crashes - com/demo/condition/ConditionCreateBean : Unsupported major.minor version 52.0 (unable to load class com.demo.condition.ConditionCreateBean)