org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.getJDBCMajorVersion()I

Server Fault | Seek | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Oracle 8.x what combination of JDBC driver, Hibernate and Spring?

    Server Fault | 1 year ago | Seek
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.getJDBCMajorVersion()I
  2. 0

    Hibernate SqlServer2000连接数据库错误。。。

    phpfans.net | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.supportsGetGeneratedKeys()Z
  3. 0

    ssh - WAR在WAS上运行正常,导入到MYECLIPSE集成的TOMCAT6.0启动失败 - SegmentFault

    segmentfault.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in class path resource [applicationContext_report.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.supportsGetGeneratedKeys()Z
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ssh - WAR在WAS上运行正常,导入到MYECLIPSE集成的TOMCAT6.0启动失败 - SegmentFault

    segmentfault.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in class path resource [applicationContext_report.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.supportsGetGeneratedKeys()Z
  6. 0

    JAVAÏîÄ¿¿ª·¢È«³Ìʵ¼ µÚÆßÕ ÐÀÏëµç×ÓÉ̳ÇÒ»Ö±³öÏÖ´íÎó

    mingribook.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/dao-config.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.getDatabaseMajorVersion()I

    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. java.lang.AbstractMethodError

      oracle.jdbc.driver.OracleDatabaseMetaData.getJDBCMajorVersion()I

      at org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation()
    2. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:78)
      2. org.hibernate.engine.jdbc.JdbcSupportLoader.loadJdbcSupport(JdbcSupportLoader.java:52)
      3. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121)
      4. org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
      5. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)
      6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)
      6 frames
    3. Hibernate
      AbstractSessionFactoryBean.afterPropertiesSet
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
      2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
      3. org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
      3 frames
    4. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      4 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
      7 frames
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      2 frames
    8. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      3 frames
    9. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      18 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    11. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames