开发者社区> 问答> 正文

求大神帮忙我启动时就报错这是怎么回事??报错

五月 25, 2016 9:53:32 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows7Master;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Windows\system32\config\systemprofile\AppData\Local\Google\Chrome\User Data\Default;D:\Java\jdk1.7.0_51\bin;D:\Java\jre7\bin;D:\jide\mysql\bin;D:\jide\svn\bin;C:\Program Files\TortoiseSVN\bin;D:\jide\Oracle\temp\instantclient_12_1;D:\Java\jdk1.7.0_51\bin;D:\Java\jre7\bin;.
五月 25, 2016 9:53:33 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:mybos' did not find a matching property.
五月 25, 2016 9:53:33 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
五月 25, 2016 9:53:33 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
五月 25, 2016 9:53:33 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 789 ms
五月 25, 2016 9:53:33 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 25, 2016 9:53:33 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.53
五月 25, 2016 9:53:37 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
五月 25, 2016 9:53:38 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
21:53:38,034  INFO ContextLoader:272 - Root WebApplicationContext: initialization started
21:53:38,119  INFO XmlWebApplicationContext:510 - Refreshing Root WebApplicationContext: startup date [Wed May 25 21:53:38 GMT+08:00 2016]; root of context hierarchy
21:53:38,190  INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml]
21:53:38,354  INFO ClassPathBeanDefinitionScanner:222 - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
21:53:38,849  INFO PropertySourcesPlaceholderConfigurer:177 - Loading properties file from class path resource [jdbc.properties]
21:53:39,168  INFO XmlWebApplicationContext:1374 - Bean 'customerService' of type [class org.springframework.remoting.caucho.HessianProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:39,193  INFO XmlWebApplicationContext:1374 - Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:39,229  INFO XmlWebApplicationContext:1374 - Bean 'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:39,231  INFO XmlWebApplicationContext:1374 - Bean 'org.springframework.transaction.config.internalTransactionAdvisor' of type [class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:39,332  INFO MLog:80 - MLog clients using log4j logging.
21:53:39,384  INFO C3P0Registry:204 - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
21:53:39,471  INFO XmlWebApplicationContext:1374 - Bean 'dataSource' of type [class com.mchange.v2.c3p0.ComboPooledDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:39,865  INFO Version:37 - Hibernate Commons Annotations 3.2.0.Final
21:53:39,871  INFO Environment:603 - Hibernate 3.6.10.Final
21:53:39,874  INFO Environment:636 - hibernate.properties not found
21:53:39,878  INFO Environment:814 - Bytecode provider name : javassist
21:53:39,882  INFO Environment:695 - using JDK 1.4 java.sql.Timestamp handling
21:53:39,941  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Decidedzone.hbm.xml
21:53:40,000  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Function.hbm.xml
21:53:40,024  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Noticebill.hbm.xml
21:53:40,059  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Region.hbm.xml
21:53:40,079  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Role.hbm.xml
21:53:40,082  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
21:53:40,105  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Staff.hbm.xml
21:53:40,132  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Subarea.hbm.xml
21:53:40,149  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\User.hbm.xml
21:53:40,152  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
21:53:40,172  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Workbill.hbm.xml
21:53:40,192  INFO Configuration:495 - Reading mappings from file: D:\wtpwebapps.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\mybos\WEB-INF\classes\cn\itcast\bos\domain\Workordermanage.hbm.xml
21:53:40,295  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Decidedzone -> bc_decidedzone
21:53:40,333  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Function -> auth_function
21:53:40,335  INFO HbmBinder:1522 - Mapping collection: cn.itcast.bos.domain.Function.roles -> role_function
21:53:40,336  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Noticebill -> qp_noticebill
21:53:40,338  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Region -> bc_region
21:53:40,340  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Role -> auth_role
21:53:40,342  INFO HbmBinder:1522 - Mapping collection: cn.itcast.bos.domain.Role.functions -> role_function
21:53:40,342  INFO HbmBinder:1522 - Mapping collection: cn.itcast.bos.domain.Role.users -> user_role
21:53:40,343  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Staff -> bc_staff
21:53:40,346  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Subarea -> bc_subarea
21:53:40,349  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.User -> t_user
21:53:40,351  INFO HbmBinder:1522 - Mapping collection: cn.itcast.bos.domain.User.roles -> user_role
21:53:40,352  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Workbill -> qp_workbill
21:53:40,353  INFO HbmBinder:353 - Mapping class: cn.itcast.bos.domain.Workordermanage -> qp_workordermanage
21:53:40,359  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.Decidedzone.subareas -> bc_subarea
21:53:40,361  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.Function.children -> auth_function
21:53:40,362  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.Noticebill.workbills -> qp_workbill
21:53:40,363  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.Region.subareas -> bc_subarea
21:53:40,365  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.Staff.decidedzones -> bc_decidedzone
21:53:40,366  INFO HbmBinder:2508 - Mapping collection: cn.itcast.bos.domain.User.noticebills -> qp_noticebill
21:53:40,375  INFO Configuration:1676 - Hibernate Validator not found: ignoring
21:53:40,380  INFO LocalSessionFactoryBean:780 - Building new Hibernate SessionFactory
21:53:40,388  INFO HibernateSearchEventListenerRegister:75 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
21:53:40,397  INFO ConnectionProviderFactory:173 - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
21:53:40,463  INFO AbstractPoolBackedDataSource:462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15w9g1sfawx3m92tc2|28e41389, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15w9g1sfawx3m92tc2|28e41389, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql:///bos0226, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
21:53:40,650  INFO Dialect:136 - Using dialect: org.hibernate.dialect.MySQL5Dialect
21:53:40,659  INFO JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
21:53:40,660  INFO SettingsFactory:126 - Database ->
       name : MySQL
    version : 5.5.27
      major : 5
      minor : 5
21:53:40,660  INFO SettingsFactory:132 - Driver ->
       name : MySQL-AB JDBC Driver
    version : mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
      major : 5
      minor : 0
21:53:40,664  INFO TransactionFactoryFactory:65 - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
21:53:40,666  INFO TransactionManagerLookupFactory:83 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
21:53:40,667  INFO SettingsFactory:179 - Automatic flush during beforeCompletion(): disabled
21:53:40,667  INFO SettingsFactory:183 - Automatic session close at end of transaction: disabled
21:53:40,667  INFO SettingsFactory:190 - JDBC batch size: 15
21:53:40,668  INFO SettingsFactory:193 - JDBC batch updates for versioned data: disabled
21:53:40,669  INFO SettingsFactory:198 - Scrollable result sets: enabled
21:53:40,669  INFO SettingsFactory:206 - JDBC3 getGeneratedKeys(): enabled
21:53:40,670  INFO SettingsFactory:214 - Connection release mode: auto
21:53:40,671  INFO SettingsFactory:238 - Maximum outer join fetch depth: 2
21:53:40,671  INFO SettingsFactory:241 - Default batch fetch size: 1
21:53:40,672  INFO SettingsFactory:245 - Generate SQL with comments: disabled
21:53:40,672  INFO SettingsFactory:249 - Order SQL updates by primary key: disabled
21:53:40,673  INFO SettingsFactory:253 - Order SQL inserts for batching: disabled
21:53:40,673  INFO SettingsFactory:431 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
21:53:40,675  INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
21:53:40,675  INFO SettingsFactory:261 - Query language substitutions: {}
21:53:40,676  INFO SettingsFactory:266 - JPA-QL strict compliance: disabled
21:53:40,676  INFO SettingsFactory:271 - Second-level cache: enabled
21:53:40,677  INFO SettingsFactory:275 - Query cache: disabled
21:53:40,677  INFO SettingsFactory:406 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
21:53:40,678  INFO SettingsFactory:285 - Optimize cache for minimal puts: disabled
21:53:40,679  INFO SettingsFactory:294 - Structured second-level cache entries: disabled
21:53:40,683  INFO SettingsFactory:314 - Echoing all SQL to stdout
21:53:40,684  INFO SettingsFactory:323 - Statistics: disabled
21:53:40,685  INFO SettingsFactory:327 - Deleted entity synthetic identifier rollback: disabled
21:53:40,685  INFO SettingsFactory:343 - Default entity-mode: pojo
21:53:40,686  INFO SettingsFactory:347 - Named query checking : enabled
21:53:40,686  INFO SettingsFactory:351 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
21:53:40,702  INFO SessionFactoryImpl:202 - building session factory
21:53:40,707  INFO BasicTypeRegistry:150 - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@737dc5e4
21:53:40,708  INFO BasicTypeRegistry:150 - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@7405f7d5
21:53:40,708  INFO BasicTypeRegistry:150 - Type registration [clob] overrides previous : org.hibernate.type.ClobType@1f157fe7
21:53:40,709  INFO BasicTypeRegistry:150 - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@1f157fe7
21:53:40,709  INFO BasicTypeRegistry:150 - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@70c65972
21:53:40,710  INFO BasicTypeRegistry:150 - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@f1f930c
21:53:40,710  INFO BasicTypeRegistry:150 - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@120f686e
21:53:40,710  INFO BasicTypeRegistry:150 - Type registration [blob] overrides previous : org.hibernate.type.BlobType@2c7e62af
21:53:40,711  INFO BasicTypeRegistry:150 - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@2c7e62af
21:53:40,723  WARN UUIDHexGenerator:58 - Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
21:53:40,973  INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
21:53:40,978  INFO SchemaUpdate:155 - Running hbm2ddl schema update
21:53:40,979  INFO SchemaUpdate:167 - fetching database metadata
21:53:40,982  INFO SchemaUpdate:179 - updating schema
21:53:41,006  INFO TableMetadata:65 - table found: bos0226.auth_function
21:53:41,007  INFO TableMetadata:66 - columns: [id, page, description, name, pid, code, generatemenu, zindex]
21:53:41,007  INFO TableMetadata:68 - foreign keys: [fk_reference_11]
21:53:41,008  INFO TableMetadata:69 - indexes: [ak_key_2, primary, fk_reference_11]
21:53:41,016  INFO TableMetadata:65 - table found: bos0226.bc_decidedzone
21:53:41,017  INFO TableMetadata:66 - columns: [id, name, staff_id]
21:53:41,017  INFO TableMetadata:68 - foreign keys: [fk_decidedzone_staff]
21:53:41,018  INFO TableMetadata:69 - indexes: [primary, fk_decidedzone_staff]
21:53:41,028  INFO TableMetadata:65 - table found: bos0226.bc_region
21:53:41,029  INFO TableMetadata:66 - columns: [citycode, id, province, shortcode, postcode, district, city]
21:53:41,029  INFO TableMetadata:68 - foreign keys: []
21:53:41,030  INFO TableMetadata:69 - indexes: [primary]
21:53:41,046  INFO TableMetadata:65 - table found: bos0226.bc_staff
21:53:41,046  INFO TableMetadata:66 - columns: [id, deltag, standard, station, name, haspda, telephone]
21:53:41,047  INFO TableMetadata:68 - foreign keys: []
21:53:41,047  INFO TableMetadata:69 - indexes: [primary]
21:53:41,060  INFO TableMetadata:65 - table found: bos0226.bc_subarea
21:53:41,060  INFO TableMetadata:66 - columns: [position, id, startnum, single, endnum, addresskey, decidedzone_id, region_id]
21:53:41,060  INFO TableMetadata:68 - foreign keys: [fk_area_decidedzone, fk_area_region]
21:53:41,061  INFO TableMetadata:69 - indexes: [fk_area_decidedzone, primary, fk_area_region]
21:53:41,070  INFO TableMetadata:65 - table found: bos0226.auth_role
21:53:41,070  INFO TableMetadata:66 - columns: [id, description, name, code]
21:53:41,070  INFO TableMetadata:68 - foreign keys: []
21:53:41,071  INFO TableMetadata:69 - indexes: [ak_key_2, primary]
21:53:41,084  INFO TableMetadata:65 - table found: bos0226.role_function
21:53:41,084  INFO TableMetadata:66 - columns: [function_id, role_id]
21:53:41,085  INFO TableMetadata:68 - foreign keys: [fk_reference_31, fk_reference_21]
21:53:41,085  INFO TableMetadata:69 - indexes: [primary, fk_reference_21]
21:53:41,096  INFO TableMetadata:65 - table found: bos0226.t_user
21:53:41,096  INFO TableMetadata:66 - columns: [id, birthday, username, remark, station, gender, salary, telephone, password]
21:53:41,097  INFO TableMetadata:68 - foreign keys: []
21:53:41,097  INFO TableMetadata:69 - indexes: [primary]
21:53:41,107  INFO TableMetadata:65 - table found: bos0226.user_role
21:53:41,107  INFO TableMetadata:66 - columns: [role_id, user_id]
21:53:41,107  INFO TableMetadata:68 - foreign keys: [fk_reference_41, fk_reference_51]
21:53:41,108  INFO TableMetadata:69 - indexes: [fk_reference_51, primary]
21:53:41,118  INFO TableMetadata:65 - table found: bos0226.qp_noticebill
21:53:41,118  INFO TableMetadata:66 - columns: [pickaddress, weight, remark, customer_name, staff_id, ordertype, arrivecity, pickdate, id, product, num, volume, user_id, delegater, telephone, customer_id]
21:53:41,119  INFO TableMetadata:68 - foreign keys: [fk_reference_3, fk_reference_2]
21:53:41,119  INFO TableMetadata:69 - indexes: [primary, fk_reference_3, fk_reference_2]
21:53:41,128  INFO TableMetadata:65 - table found: bos0226.qp_workbill
21:53:41,128  INFO TableMetadata:66 - columns: [id, pickstate, buildtime, remark, attachbilltimes, staff_id, type, noticebill_id]
21:53:41,128  INFO TableMetadata:68 - foreign keys: [fk_reference_4, fk_workbill_noticebill_fk]
21:53:41,129  INFO TableMetadata:69 - indexes: [primary, fk_reference_4, fk_workbill_noticebill_fk]
21:53:41,139  INFO TableMetadata:65 - table found: bos0226.qp_workordermanage
21:53:41,139  INFO TableMetadata:66 - columns: [sendername, weight, receivername, updatetime, feeitemnum, arrivecity, senderphone, managercheck, prodtimelimit, id, product, vol, num, prodtype, receiveraddr, actlweit, receiverphone, floadreqr, senderaddr]
21:53:41,139  INFO TableMetadata:68 - foreign keys: []
21:53:41,140  INFO TableMetadata:69 - indexes: [primary]
21:53:41,146  INFO TableMetadata:65 - table found: bos0226.role_function
21:53:41,146  INFO TableMetadata:66 - columns: [function_id, role_id]
21:53:41,147  INFO TableMetadata:68 - foreign keys: [fk_reference_31, fk_reference_21]
21:53:41,147  INFO TableMetadata:69 - indexes: [primary, fk_reference_21]
21:53:41,148  INFO SchemaUpdate:217 - schema update complete
21:53:41,265  INFO XmlWebApplicationContext:1374 - Bean 'sessionFactory' of type [class org.springframework.orm.hibernate3.LocalSessionFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,286  INFO XmlWebApplicationContext:1374 - Bean 'sessionFactory' of type [class org.hibernate.impl.SessionFactoryImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,301  INFO XmlWebApplicationContext:1374 - Bean 'userDaoImpl' of type [class cn.itcast.bos.dao.impl.UserDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,328  INFO XmlWebApplicationContext:1374 - Bean 'functionDaoImpl' of type [class cn.itcast.bos.dao.impl.FunctionDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,339  INFO XmlWebApplicationContext:1374 - Bean 'bosRealm' of type [class cn.itcast.bos.shiro.BOSRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,365  INFO XmlWebApplicationContext:1374 - Bean 'cacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,429  INFO EhCacheManager:159 - Cache with name 'cn.itcast.bos.shiro.BOSRealm.authorizationCache' does not yet exist.  Creating now.
21:53:41,448  INFO EhCacheManager:166 - Added EhCache named [cn.itcast.bos.shiro.BOSRealm.authorizationCache]
21:53:41,450  INFO XmlWebApplicationContext:1374 - Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
21:53:41,521  INFO DefaultListableBeanFactory:577 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@60efaf24: defining beans [org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,dataSource,sessionFactory,transactionManager,decidedzoneDaoImpl,functionDaoImpl,noticebillDaoImpl,regionDaoImpl,roleDaoImpl,staffDaoImpl,subareaDaoImpl,userDaoImpl,workbillDaoImpl,workordermanageDaoImpl,decidedzoneServiceImpl,functionServiceImpl,noticebillServiceImpl,regionServiceImpl,roleServiceImpl,staffServiceImpl,subareaServiceImpl,userServiceImpl,workordermanageServiceImpl,decidedzoneAction,functionAction,noticebillAction,processDefinitionAction,processInstanceAction,regionAction,roleAction,staffAction,subareaAction,userAction,workordermanageAction,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,customerService,shiroFilter,securityManager,cacheManager,bosRealm,defaultAdvisorAutoProxyCreator,org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0,processEngineConfiguration,processEngine,repositoryService,runtimeService,taskService,identityService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
21:53:41,563  INFO HibernateTransactionManager:415 - Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15w9g1sfawx3m92tc2|28e41389, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15w9g1sfawx3m92tc2|28e41389, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql:///bos0226, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
21:53:43,168  INFO DefaultListableBeanFactory:444 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@60efaf24: defining beans [org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,dataSource,sessionFactory,transactionManager,decidedzoneDaoImpl,functionDaoImpl,noticebillDaoImpl,regionDaoImpl,roleDaoImpl,staffDaoImpl,subareaDaoImpl,userDaoImpl,workbillDaoImpl,workordermanageDaoImpl,decidedzoneServiceImpl,functionServiceImpl,noticebillServiceImpl,regionServiceImpl,roleServiceImpl,staffServiceImpl,subareaServiceImpl,userServiceImpl,workordermanageServiceImpl,decidedzoneAction,functionAction,noticebillAction,processDefinitionAction,processInstanceAction,regionAction,roleAction,staffAction,subareaAction,userAction,workordermanageAction,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,customerService,shiroFilter,securityManager,cacheManager,bosRealm,defaultAdvisorAutoProxyCreator,org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0,processEngineConfiguration,processEngine,repositoryService,runtimeService,taskService,identityService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
21:53:43,173  INFO LocalSessionFactoryBean:223 - Closing Hibernate SessionFactory
21:53:43,174  INFO SessionFactoryImpl:927 - closing
21:53:43,176 ERROR ContextLoader:307 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1443)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1029)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:709)
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1013)
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:76)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:365)
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:64)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:56)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 28 more
五月 25, 2016 9:53:43 下午 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 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1443)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1029)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:709)
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1013)
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:76)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:365)
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:64)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:56)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 28 more


五月 25, 2016 9:53:43 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
五月 25, 2016 9:53:43 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/mybos] startup failed due to previous errors
五月 25, 2016 9:53:43 下午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/mybos] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/mybos] appears to have started a thread named [Store cn.itcast.bos.shiro.BOSRealm.authorizationCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
五月 25, 2016 9:53:43 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
五月 25, 2016 9:53:43 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
五月 25, 2016 9:53:43 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 9862 ms


展开
收起
爱吃鱼的程序员 2020-06-09 14:22:42 906 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    tomcat没有配置吧我配置了, 我刚弄好了是我在数据库乱删点文件引起了 但是还是要谢谢你!

    2020-06-09 14:23:00
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载