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 Hibernate JIRA by Santosh, 1 year ago
Error creating bean with name 'oracleSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.MappingException: Bad identifier type: net.sf.hibernate.type.ComponentType net.sf.hibernate.MappingException: Bad identifier type: net.sf.hibernate.type.ComponentType
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oracleSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.MappingException: Bad identifier type: net.sf.hibernate.type.ComponentType
net.sf.hibernate.MappingException: Bad identifier type: net.sf.hibernate.type.ComponentType	at net.sf.hibernate.persister.AbstractEntityPersister.(AbstractEntityPersister.java:669)	at net.sf.hibernate.persister.EntityPersister.(EntityPersister.java:690)	at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)	at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:137)	at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)	at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:543)	at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:477)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)	at org.jboss.web.WebModule.startModule(WebModule.java:68)	at org.jboss.web.WebModule.startService(WebModule.java:46)	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)	at undefined.$Proxy0.start(Unknown Source)	at org.jboss.system.ServiceController.start(ServiceController.java:428)	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)	at undefined.$Proxy30.start(Unknown Source)	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)	at undefined.$Proxy31.start(Unknown Source)	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)	at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)	at undefined.$Proxy9.deploy(Unknown Source)	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)	at undefined.$Proxy0.start(Unknown Source)	at org.jboss.system.ServiceController.start(ServiceController.java:428)	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)	at undefined.$Proxy4.start(Unknown Source)	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)	at undefined.$Proxy5.deploy(Unknown Source)	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)	at org.jboss.Main.boot(Main.java:187)	at org.jboss.Main$1.run(Main.java:438)	at java.lang.Thread.run(Thread.java:534)