ssh2整合org.springframework.beans.factory.BeanCreati

发布于 2021-11-06 18:14:00 字数 30436 浏览 805 评论 3

2011-6-10 11:29:04 org.apache.catalina.core.AprLifecycleListener init

信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:MyeclipseGenuitecCommonbinarycom.sun.java.jdk.win32.x86_1.6.0.013bin;E:MyeclipseGenuitecCommonpluginscom.genuitec.eclipse.easie.tomcat.myeclipse_8.6.0.me201007231647tomcatbin

2011-6-10 11:29:05 org.apache.coyote.http11.Http11Protocol init

信息: Initializing Coyote HTTP/1.1 on http-8080

2011-6-10 11:29:05 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 986 ms

2011-6-10 11:29:05 org.apache.catalina.core.StandardService start

信息: Starting service Catalina

2011-6-10 11:29:05 org.apache.catalina.core.StandardEngine start

信息: Starting Servlet Engine: Apache Tomcat/6.0.13

2011-6-10 11:29:07 org.apache.catalina.loader.WebappClassLoader validateJarFile

信息: validateJarFile(E:Myeclipse.metadata.me_tcatwebappsJavaPrj_7.myeclipse.bakWEB-INFlibservlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2011-6-10 11:29:10 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext

11:29:14,375 ERROR ContextLoader:215 - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

 at java.security.AccessController.doPrivileged(Native Method)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)

 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)

 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)

 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)

 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

 at org.apache.catalina.core.StandardService.start(StandardService.java:516)

 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

 at org.apache.catalina.startup.Catalina.start(Catalina.java:566)

 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:597)

 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)

 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)

 ... 40 more

Caused by: java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:65)

 at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:51)

 at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)

 at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:165)

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:169)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$(LocalSessionFactoryBean.java:174)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.<init>(LocalSessionFactoryBean.java:174)

 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)

 ... 42 more

Caused by: java.lang.NoSuchFieldError: TRACE

 at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:63)

 ... 54 more

2011-6-10 11:29:14 org.apache.catalina.core.StandardContext listenerStart

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

 at java.security.AccessController.doPrivileged(Native Method)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)

 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)

 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)

 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)

 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

 at org.apache.catalina.core.StandardService.start(StandardService.java:516)

 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

 at org.apache.catalina.startup.Catalina.start(Catalina.java:566)

 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:597)

 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)

 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)

 ... 40 more

Caused by: java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also
http://www.slf4j.org/codes.html#log4j_version

 at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:65)

 at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:51)

 at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)

 at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:165)

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:169)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$(LocalSessionFactoryBean.java:174)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.<init>(LocalSessionFactoryBean.java:174)

 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)

 ... 42 more

Caused by: java.lang.NoSuchFieldError: TRACE

 at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:63)

 ... 54 more

2011-6-10 11:29:14 org.apache.catalina.core.StandardContext start

严重: Error listenerStart

2011-6-10 11:29:14 org.apache.catalina.core.StandardContext start

严重: Context [/JavaPrj_7.myeclipse.bak] startup failed due to previous errors

2011-6-10 11:29:14 org.apache.catalina.core.ApplicationContext log

信息: Closing Spring root WebApplicationContext

2011-6-10 11:29:16 org.apache.catalina.loader.WebappClassLoader validateJarFile

信息: validateJarFile(E:Myeclipse.metadata.me_tcatwebappsJavaPrj_7WEB-INFlibservlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2011-6-10 11:29:21 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext

11:29:29,125 ERROR ContextLoader:214 - Context initialization failed

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

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1302)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)

 at java.security.AccessController.doPrivileged(Native Method)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)

 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:424)

 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)

 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)

 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)

 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)

 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)

 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)

 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)

 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

 at org.apache.catalina.core.StandardService.start(StandardService.java:516)

 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

 at org.apache.catalina.startup.Catalina.start(Catalina.java:566)

 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:597)

 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.getJDBCMajorVersion()I

 at org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:78)

 at org.hibernate.engine.jdbc.JdbcSupportLoader.loadJdbcSupport(JdbcSupportLoader.java:52)

 at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121)

 at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)

 at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)

 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:816)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:734)

 at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1333)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1299)

 ... 39 more

2011-6-10 11:29:29 org.apache.catalina.core.StandardContext listenerStart

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

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

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1302)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)

 at java.security.AccessController.doPrivileged(Native Method)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)

 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:424)

 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)

 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)

 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)

 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)

 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)

 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)

 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)

 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

 at org.apache.catalina.core.StandardService.start(StandardService.java:516)

 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

 at org.apache.catalina.startup.Catalina.start(Catalina.java:566)

 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:597)

 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.getJDBCMajorVersion()I

 at org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:78)

 at org.hibernate.engine.jdbc.JdbcSupportLoader.loadJdbcSupport(JdbcSupportLoader.java:52)

 at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121)

 at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)

 at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)

 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:816)

 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:734)

 at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1333)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1299)

 ... 39 more

2011-6-10 11:29:29 org.apache.catalina.core.StandardContext start

严重: Error listenerStart

2011-6-10 11:29:29 org.apache.catalina.core.StandardContext start

严重: Context [/JavaPrj_7] startup failed due to previous errors

2011-6-10 11:29:29 org.apache.catalina.core.ApplicationContext log

信息: Closing Spring root WebApplicationContext

log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

2011-6-10 11:29:30 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on http-8080

2011-6-10 11:29:30 org.apache.jk.common.ChannelSocket init

信息: JK: ajp13 listening on /0.0.0.0:8009

2011-6-10 11:29:30 org.apache.jk.server.JkMain start

信息: Jk running ID=0 time=0/32  config=null

2011-6-10 11:29:30 org.apache.catalina.startup.Catalina start

信息: Server startup in 25337 ms

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷清清 2021-11-07 22:51:11

贴了一大堆异常信息,关键是要找出有用的内容,帮你标注出主要问题

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

java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文