A: -: Wu,324ERROR Contextloader:307 -Context initialization failedorg.springframework.beans.factory.BeanCreationException:Error creating bean withName'sessionfactory'DefinedinchClass Path Resource[Applicationcontext.xml]: Invocation ofInit method failed; Nested exception isOrg.hibernate.HibernateException:Unable toInstantiatedefaultTuplizer[Org.hibernate.tuple.entity.PojoEntityTuplizer]At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( Abstractautowirecapablebeanfactory.java:1486) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:524) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( Abstractautowirecapablebeanfactory.java:461) at org.springframework.beans.factory.support.abstractbeanfactory$1. GetObject (Abstractbeanfactory.java:295) at Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( Defaultsingletonbeanregistry.java:223) at Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (Abstractbeanfactory.java:292) at Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (Abstractbeanfactory.java:194) at Org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( Defaultlistablebeanfactory.java:589) at Org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization ( Abstractapplicationcontext.java:932) at Org.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java: 479) at Org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext ( Contextloader.java:383) at Org.springframework.web.context.ContextLoader.initWebApplicationContext (Contextloader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java: the) at Org.apache.catalina.core.StandardContext.listenerStart (Standardcontext.java:4992) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5490) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java: Max) at Org.apache.catalina.core.ContainerBase.addChildInternal (Containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (Containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (Standardhost.java:649) at Org.apache.catalina.startup.HostConfig.deployDirectory (Hostconfig.java:1247) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (Hostconfig.java:1898) at Java.util.concurrent.executors$runnableadapter.call (Unknown Source) at Java.util.concurrent.futuretask$syn C.innerrun (Unknown source) at Java.util.concurrent.FutureTask.run (Unknown source) at Java.util.concurrent.ThreadPool Executor.runworker (Unknown source) at Java.util.concurrent.threadpoolexecutor$worker.run (Unknown source) at Java.lan G.thread.run (Unknown Source) caused by: org.hibernate.HibernateException:Unable toInstantiatedefaultTuplizer[Org.hibernate.tuple.entity.PojoEntityTuplizer]At Org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer (Entitytuplizerfactory.java:108) at Org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer (Entitytuplizerfactory.java: 133) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<Init>(Entityentitymodetotuplizermapping.java: the) at Org.hibernate.tuple.entity.EntityMetamodel.<Init>(Entitymetamodel.java:322) at Org.hibernate.persister.entity.AbstractEntityPersister.<Init>(Abstractentitypersister.java:485) at Org.hibernate.persister.entity.SingleTableEntityPersister.<Init>(Singletableentitypersister.java:133) at Org.hibernate.persister.PersisterFactory.createClassPersister (Persisterfactory.java: -) at Org.hibernate.impl.SessionFactoryImpl.<Init>(Sessionfactoryimpl.java:286) at Org.hibernate.cfg.Configuration.buildSessionFactory (Configuration.java:1872) at Org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory ( Localsessionfactorybean.java:863) at Org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory ( Localsessionfactorybean.java:782) at Org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet ( Abstractsessionfactorybean.java:188) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods ( Abstractautowirecapablebeanfactory.java:1545) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( Abstractautowirecapablebeanfactory.java:1483) ... -morecaused by: Java.lang.reflect.InvocationTargetException at Sun.reflect.NativeConstructorAccessorImpl.newInstance0 ( Native Method) at Sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown Source) at Sun.reflect.DelegatingCon Structoraccessorimpl.newinstance (Unknown source) at Java.lang.reflect.Constructor.newInstance (Unknown source) at org . Hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer (Entitytuplizerfactory.java: the) ... themorecaused by: org.hibernate.PropertyNotFoundException:Could notFind a Getter forOrderItemsinchClass Cn.xx.shop.Order. Vo.OrderAt Org.hibernate.property.BasicPropertyAccessor.createGetter (Basicpropertyaccessor.java:326) at Org.hibernate.property.BasicPropertyAccessor.getGetter (Basicpropertyaccessor.java: the) at Org.hibernate.mapping.Property.getGetter (Property.java: the) at Org.hibernate.tuple.entity.PojoEntityTuplizer.buildPropertyGetter (Pojoentitytuplizer.java:297) at Org.hibernate.tuple.entity.AbstractEntityTuplizer.<Init>(Abstractentitytuplizer.java:155) at Org.hibernate.tuple.entity.PojoEntityTuplizer.<Init>(Pojoentitytuplizer.java: the) ... -More
Check the Get method in the entity class. The OrderItems get method in the order class. Whether it is implemented.
Could not find a getters for OrderItems in class