org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [nl.surfnet.mujina.util.TimeService] for bean with name 'timeService' defined in ServletContext resource [/WEB-INF/applicationContext-sp-config.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: nl/surfnet/mujina/util/TimeService : Unsupported major.minor version 51.0

GitHub | sxm20 | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting UnsupportedClassVersionError when running SP

    GitHub | 3 years ago | sxm20
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [nl.surfnet.mujina.util.TimeService] for bean with name 'timeService' defined in ServletContext resource [/WEB-INF/applicationContext-sp-config.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: nl/surfnet/mujina/util/TimeService : Unsupported major.minor version 51.0
  2. 0

    error in migrating from acegi to spring-security, what's wrong here?

    Stack Overflow | 12 months ago | gtludwig
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.security.web.access.intercept.FilterSecurityInterceptor] for bean with name 'filterSecurityInterceptor' defined in class path resource [spring/spring-framework-security.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.security.web.access.intercept.FilterSecurityInterceptor
  3. 0

    GitHub comment 7#100290176

    GitHub | 2 years ago | myio561
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.palantir.stash.codesearch.elasticsearch.ElasticSearchImpl] for bean with name 'es' defined in URL [bundle://98.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/palantir/stash/codesearch/elasticsearch/ElasticSearchImpl : Unsupported major.minor version 52.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to start a war file - getting errors - need help understanding catalina.out

    Stack Overflow | 3 years ago | Ed Dantes
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.myco.mydata.controller.ShowmydataController] for bean with name 'showmydataController' defined in file [/var/lib/tomcat7/webapps/my_app/WEB-INF/classes/com/myco/mydata/controller/ShowmydataController.class]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/myco/mydata/controller/ShowmydataController : Unsupported major.minor version 51.0 (unable to load class com.myco.mydata.controller.ShowmydataController)
  6. 0

    2.0M2 error with Unsupported major.minor version 51.0

    Google Groups | 3 years ago | Flickema, Drew
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.denimgroup.threadfix.webapp.filter.CsrfPreventionFilter] for bean with name 'CsrfPreventionFilter' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/denimgroup/threadfix/webapp/filter/CsrfPreventionFilter : Unsupported major.minor version 51.0 (unable to load class com.denimgroup.threadfix.webapp.filter.CsrfPreventionFilter)

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.beans.factory.CannotLoadBeanClassException

      Error loading class [nl.surfnet.mujina.util.TimeService] for bean with name 'timeService' defined in ServletContext resource [/WEB-INF/applicationContext-sp-config.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: nl/surfnet/mujina/util/TimeService : Unsupported major.minor version 51.0

      at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass()
    2. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1265)[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:897)[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      5. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:586)[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      5 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)[spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)[spring-context-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2 frames
    4. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
      3 frames
    5. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)[jetty-6.1.26.jar:6.1.26]
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)[jetty-6.1.26.jar:6.1.26]
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)[jetty-6.1.26.jar:6.1.26]
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)[jetty-6.1.26.jar:6.1.26]
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)[jetty-6.1.26.jar:6.1.26]
      5 frames
    6. Jetty :: Jetty Maven Plugin
      Jetty6PluginWebAppContext.doStart
      1. org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      1 frame
    7. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26]
      1 frame
    8. Jetty Server
      ContextHandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)[jetty-6.1.26.jar:6.1.26]
      2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)[jetty-6.1.26.jar:6.1.26]
      2 frames
    9. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26]
      1 frame
    10. Jetty Server
      HandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)[jetty-6.1.26.jar:6.1.26]
      1 frame
    11. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26]
      1 frame
    12. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[jetty-6.1.26.jar:6.1.26]
      2. org.mortbay.jetty.Server.doStart(Server.java:224)[jetty-6.1.26.jar:6.1.26]
      2 frames
    13. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.26.jar:6.1.26]
      1 frame
    14. Jetty :: Jetty Maven Plugin
      Jetty6RunMojo.execute
      1. org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      2. org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      3. org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      4. org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      5. org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)[maven-jetty-plugin-6.1.26.jar:6.1.26]
      5 frames