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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by sxm20
, 11 months ago
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
via Stack Overflow by heesu
, 7 months ago
Error loading class [org.mybatis.spring.SqlSessionFactoryBean] for bean with name 'sqlSession' defined in file [C:\Users\hspc\Desktop\project\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\test\WEB-INF\classes\config\spring\context
via Stack Overflow by RAMAZAN CESUR
, 1 year ago
Cannot find class [com.tutev.web.entity.Kullanici] for bean with name 'Kullanici' defined in ServletContext resource [/WEB-INF/appCtx.xml]; nested exception is java.lang.ClassNotFoundException: com.tutev.web.entity.Kullanici
via Stack Overflow by Yevhen Batsiun
, 11 months ago
Cannot find class [securityrelated.DelegatingUserDetailsService] for bean with name 'delegateUds' defined in class path resource [config/security-context.xml]; nested exception is java.lang.ClassNotFoundException: securityrelated.DelegatingUserDetailsService
via Google Groups by Unknown author, 1 year ago
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
via Google Groups by Flickema, Drew, 6 months ago
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
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(AbstractBeanFactory.java:1265)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)

Users with the same issue

10 times, 5 months ago
21 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.