日期:2014-05-20  浏览次数:20938 次

WebApplicationContext
INFO - Initializing Spring root WebApplicationContext
INFO - Root WebApplicationContext: initialization started
INFO - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@109da93: display name [Root WebApplicationContext]; startup date [Tue Aug 09 15:42:54 CST 2011]; root of context hierarchy
INFO - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
INFO - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@109da93]: org.springframework.beans.factory.support.DefaultListableBeanFactory@187275d
INFO - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@187275d: defining beans [datasource,sessionFactory,stuImpl,StudentBiz,/StuAction]; root of factory hierarchy
INFO - Hibernate 3.2.7
INFO - hibernate.properties not found
INFO - Bytecode provider name : cglib
INFO - using JDK 1.4 java.sql.Timestamp handling
INFO - Mapping class: Entity.Students -> STUDENTS
INFO - Mapping class: Entity.Userinfo -> USERINFO
INFO - Mapping class: Entity.Role -> ROLE
INFO - Mapping class: Entity.Popedom -> POPEDOM
INFO - Mapping class: Entity.RolePopedom -> ROLE_POPEDOM
INFO - Building new Hibernate SessionFactory
INFO - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
INFO - RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
INFO - JDBC driver: Oracle JDBC driver, version: 10.2.0.3.0
INFO - Using dialect: org.hibernate.dialect.Oracle9Dialect
WARN - The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
INFO - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
INFO - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
INFO - Automatic flush during beforeCompletion(): disabled
INFO - Automatic session close at end of transaction: disabled
INFO - JDBC batch size: 15
INFO - JDBC batch updates for versioned data: disabled
INFO - Scrollable result sets: enabled
INFO - JDBC3 getGeneratedKeys(): disabled
INFO - Connection release mode: auto
INFO - Default batch fetch size: 1
INFO - Generate SQL with comments: disabled
INFO - Order SQL updates by primary key: disabled
INFO - Order SQL inserts for batching: disabled
INFO - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO - Using ASTQueryTranslatorFactory
INFO - Query language substitutions: {}
INFO - JPA-QL strict compliance: disabled
INFO - Second-level cache: enabled
INFO - Query cache: disabled
INFO - Cache provider: org.hibernate.cache.NoCacheProvider
INFO - Optimize cache for minimal puts: disabled
INFO - Structured second-level cache entries: disabled
INFO - Statistics: disabled
INFO - Deleted entity synthetic identifier rollback: disabled
INFO - Default entity-mode: pojo
INFO - Named query checking : enabled
INFO - building session factory
INFO - Not binding factory to JNDI, no JNDI name configured
INFO - Root WebApplicationContext: initialization completed in 4297 ms

------解决方案--------------------
探讨

谢谢,这个还是不行,我把那个9改成了10然后启动,结果找不到sessionfactory