哪位大拿帮帮小弟··整了很多天的东西 没出来

时间:2021-05-15 14:52:44

2009-7-4 10:06:43 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/DMS]
2009-7-4 10:06:43 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DMS] has not been started
2009-7-4 10:06:45 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
 INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@ca8f43: display name [Root WebApplicationContext]; startup date [Sat Jul 04 10:06:46 CST 2009]; root of context hierarchy
 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/dao_hibernate.xml]
 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/allService.xml]
 INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@ca8f43]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c9d17e
 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c9d17e: defining beans [ds,sf,tx,hibernateTemplate,funDao,funService]; root of factory hierarchy
 INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: com.mysql.jdbc.Driver
 INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
 INFO org.hibernate.cfg.Environment - hibernate.properties not found
 INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
 INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
 INFO org.hibernate.cfg.HbmBinder - Mapping class: com.xin.dms.domain.Function -> t_function
 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean - Building new Hibernate SessionFactory
 INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
 INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 6.0.3-alpha-community
 INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
 INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
 INFO org.hibernate.transaction.TransactionFactoryFactory - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
 INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
 INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
 INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
 INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
 INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
 INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
 INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
 INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
 INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
 INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
 INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
 INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
 INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
 INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
 INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
 INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
 INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
 INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
 INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
 INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
 INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
 INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
 INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
 INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
 INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
 INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c9d17e: defining beans [ds,sf,tx,hibernateTemplate,funDao,funService]; root of factory hierarchy
ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sf' defined in ServletContext resource [/WEB-INF/dao_hibernate.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
 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:221)
 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:729)
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
 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.startup.HostConfig.checkResources(HostConfig.java:1105)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
 at org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71)
 at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:55)
 at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:50)
 at org.hibernate.engine.query.QueryPlanCache.<init>(QueryPlanCache.java:65)
 at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:176)
 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
 at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
 ... 26 more
2009-7-4 10:06:50 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 'sf' defined in ServletContext resource [/WEB-INF/dao_hibernate.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
 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:221)
 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:729)
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
 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.startup.HostConfig.checkResources(HostConfig.java:1105)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
 at org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71)
 at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:55)
 at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:50)
 at org.hibernate.engine.query.QueryPlanCache.<init>(QueryPlanCache.java:65)
 at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:176)
 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
 at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
 ... 26 more
2009-7-4 10:06:50 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2009-7-4 10:06:50 org.apache.catalina.core.StandardContext start
严重: Context [/DMS] startup failed due to previous errors
2009-7-4 10:06:50 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext