问题描述
2011-6-169:52:27org.apache.catalina.core.AprLifecycleListenerinit信息:TheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformanceinproductionenvironmentswasnotfoundonthejava.library.path:C:ProgramFilesJavajdk1.6.0_02bin;D:学习文档tomcatapache-tomcat-6.0.29bin2011-6-169:52:27org.apache.coyote.http11.Http11Protocolinit信息:InitializingCoyoteHTTP/1.1onhttp-80802011-6-169:52:27org.apache.catalina.startup.Catalinaload信息:Initializationprocessedin865ms2011-6-169:52:27org.apache.catalina.core.StandardServicestart信息:StartingserviceCatalina2011-6-169:52:27org.apache.catalina.core.StandardEnginestart信息:StartingServletEngine:ApacheTomcat/6.0.292011-6-169:52:27org.apache.catalina.startup.HostConfigdeployDescriptor信息:Deployingconfigurationdescriptorhost-manager.xml2011-6-169:52:28org.apache.catalina.startup.HostConfigdeployDescriptor信息:Deployingconfigurationdescriptormanager.xml2011-6-169:52:28org.apache.catalina.startup.HostConfigdeployWAR信息:Deployingwebapplicationarchivewc.war2011-6-169:52:32org.apache.catalina.core.ApplicationContextlog信息:InitializingSpringrootWebApplicationContextlog4j:WARNNoappenderscouldbefoundforlogger(org.springframework.web.context.ContextLoader).log4j:WARNPleaseinitializethelog4jsystemproperly.2011-6-169:53:01org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectorydocs2011-6-169:53:01org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectoryexamples2011-6-169:53:02org.apache.catalina.core.ApplicationContextlog信息:ContextListener:contextInitialized()2011-6-169:53:02org.apache.catalina.core.ApplicationContextlog信息:SessionListener:contextInitialized()2011-6-169:53:02org.apache.catalina.startup.HostConfigdeployDirectory信息:DeployingwebapplicationdirectoryK7_W1_PORTAL_Projectlog4j:WARNNoappenderscouldbefoundforlogger(org.springframework.core.CollectionFactory).log4j:WARNPleaseinitializethelog4jsystemproperly.2011-6-169:53:07org.apache.catalina.core.ApplicationContextlog信息:InitializingSpringrootWebApplicationContextSLF4J:Failedtoloadclass"org.slf4j.impl.StaticLoggerBinder".SLF4J:Defaultingtono-operation(NOP)loggerimplementationSLF4J:Seehttp://www.slf4j.org/codes.html#StaticLoggerBinderforfurtherdetails.2011-6-169:53:15org.apache.catalina.core.StandardContextlistenerStart严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sessionFactory'definedinServletContextresource[/WEB-INF/applicationContext_hibernate.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.beans.BeanInstantiationException:Couldnotinstantiatebeanclass[org.hibernate.cfg.Configuration]:Constructorthrewexception;nestedexceptionisjava.lang.NoSuchFieldError:INSTANCEatorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)atjava.security.AccessController.doPrivileged(NativeMethod)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)atorg.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4630)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)atorg.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:785)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)atorg.apache.catalina.core.StandardService.start(StandardService.java:519)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:581)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Causedby:org.springframework.beans.BeanInstantiationException:Couldnotinstantiatebeanclass[org.hibernate.cfg.Configuration]:Constructorthrewexception;nestedexceptionisjava.lang.NoSuchFieldError:INSTANCEatorg.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)atorg.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:78)atorg.springframework.orm.hibernate3.LocalSessionFactoryBean.newConfiguration(LocalSessionFactoryBean.java:772)atorg.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:517)atorg.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)...39moreCausedby:java.lang.NoSuchFieldError:INSTANCEatorg.hibernate.type.BasicTypeRegistry.<init>(BasicTypeRegistry.java:94)atorg.hibernate.type.TypeResolver.<init>(TypeResolver.java:59)atorg.hibernate.cfg.Configuration.<init>(Configuration.java:250)atorg.hibernate.cfg.Configuration.<init>(Configuration.java:302)atsun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)atjava.lang.reflect.Constructor.newInstance(Constructor.java:513)atorg.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)...45more2011-6-169:53:15org.apache.catalina.core.StandardContextstart严重:ErrorlistenerStart2011-6-169:53:15org.apache.catalina.core.StandardContextstart严重:Context[/K7_W1_PORTAL_Project]startupfailedduetopreviouserrors2011-6-169:53:15org.apache.catalina.core.ApplicationContextlog信息:ClosingSpringrootWebApplicationContext2011-6-169:53:15org.apache.catalina.loader.WebappClassLoaderclearReferencesJdbc严重:Thewebapplication[/K7_W1_PORTAL_Project]registeredtheJBDCdriver[com.mysql.jdbc.Driver]butfailedtounregisteritwhenthewebapplicationwasstopped.Topreventamemoryleak,theJDBCDriverhasbeenforciblyunregistered.SLF4J:Failedtoloadclass"org.slf4j.impl.StaticLoggerBinder".SLF4J:Defaultingtono-operation(NOP)loggerimplementationSLF4J:Seehttp://www.slf4j.org/codes.html#StaticLoggerBinderforfurtherdetails.log4j:WARNNoappenderscouldbefoundforlogger(org.springframework.web.context.ContextLoader).log4j:WARNPleaseinitializethelog4jsystemproperly.log4j:WARNNoappenderscouldbefoundforlogger(org.springframework.web.context.ContextLoader).log4j:WARNPleaseinitializethelog4jsystemproperly.