Home > Back-end >  Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean...
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean...

Time:09-24

01:22:44, 015 ERROR ContextLoader: 307 - Context initialization failed
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'sessionFactory defined in the class path resource [the applicationcontext.xml] : the Invocation of the init method failed; Nested exception is Java. Lang. UnsupportedClassVersionError: cn/itcast/shop/user/vo/user: Unsupported major, minor version 51.0
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1486)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 524)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 461)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 295)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 223)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 292)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 194)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 589)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 932)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 479)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 383)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 283)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 112)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 3827)
The at org. Apache. Catalina. Core. StandardContext. Start (StandardContext. Java: 4334)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 791)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 771)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 525)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 920)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectories (HostConfig. Java: 883)
The at org. Apache. Catalina. Startup. HostConfig. DeployApps (HostConfig. Java: 492)
The at org. Apache. Catalina. Startup. HostConfig. Start (HostConfig. Java: 1138)
The at org. Apache. Catalina. Startup. HostConfig. LifecycleEvent (HostConfig. Java: 311)
The at org. Apache. Catalina. Util. LifecycleSupport. FireLifecycleEvent (LifecycleSupport. Java: 117)
The at org. Apache. Catalina. Core. ContainerBase. Start (ContainerBase. Java: 1053)
The at org. Apache. Catalina. Core. StandardHost. Start (StandardHost. Java: 719)
The at org. Apache. Catalina. Core. ContainerBase. Start (ContainerBase. Java: 1045)
The at org. Apache. Catalina. Core. StandardEngine. Start (StandardEngine. Java: 443)
The at org. Apache. Catalina. Core. StandardService. Start (StandardService. Java: 516)
The at org. Apache. Catalina. Core. StandardServer. Start (StandardServer. Java: 710)
The at org. Apache. Catalina. Startup. Catalina. Start (catalina. Java: 566)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (623) Method. The Java:
At org. Apache. Catalina. Startup. The Bootstrap. Start (288) the Bootstrap. Java:
At org. Apache. Catalina. Startup. The Bootstrap. Main (413) the Bootstrap. Java:
Under Caused by: Java. Lang. UnsupportedClassVersionError: cn/itcast/shop/user/vo/user: Unsupported major, minor version 51.0
The at Java. Lang. This defineClass1 (Native Method)
The at Java. Lang. This. DefineClass (637). This Java:
The at Java. Security. SecureClassLoader. DefineClass (SecureClassLoader. Java: 142)
The at org. Apache. Catalina. Loader. WebappClassLoader. FindClassInternal (WebappClassLoader. Java: 1817)
The at org. Apache. Catalina. Loader. WebappClassLoader. FindClass (WebappClassLoader. Java: 872)
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1325)
The at org. Apache. Catalina. Loader. WebappClassLoader. LoadClass (WebappClassLoader. Java: 1204)
The at Java. Lang. This. LoadClassInternal (336). This Java:
The at Java. Lang. Class. ForName0 (Native Method)
The at Java. Lang. Class.forname (186) Class. Java:
The at org. Hibernate. Util. ReflectHelper. ClassForName (ReflectHelper. Java: 192)
The at org. Hibernate. Util. ReflectHelper. ReflectedPropertyClass (ReflectHelper. Java: 228)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related