hibernate.properties not found(导致Configured SessionFactory: null 错误)

来源:互联网 发布:shinee 知乎 综艺 编辑:程序博客网 时间:2024/04/30 03:08

六月 15, 2014 1:38:30 下午 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_06\bin;D:\apache-tomcat-6.0.29\bin
六月 15, 2014 1:38:30 下午 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
六月 15, 2014 1:38:32 下午 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
六月 15, 2014 1:38:32 下午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4222 ms
六月 15, 2014 1:38:32 下午 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
六月 15, 2014 1:38:32 下午 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
六月 15, 2014 1:38:32 下午 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
六月 15, 2014 1:38:33 下午 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
六月 15, 2014 1:38:33 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory DE
六月 15, 2014 1:38:36 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
六月 15, 2014 1:38:36 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
六月 15, 2014 1:38:37 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Sun Jun 15 13:38:37 CST 2014]; root of context hierarchy
六月 15, 2014 1:38:37 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
六月 15, 2014 1:38:38 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\apache-tomcat-6.0.29\webapps\DE\WEB-INF\classes\spring\applicationContext-login.xml]
六月 15, 2014 1:38:39 下午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@117a16e: defining beans [sessionFactory,transactionManager,smAdvice,org.springframework.aop.config.internalAutoProxyCreator,smMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,LoginDAOImpl,LoginBizImpl,LoginActionSP]; root of factory hierarchy
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.29/webapps/DE/WEB-INF/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.29/webapps/DE/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.29/webapps/DE/WEB-INF/lib/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.29/webapps/DE/WEB-INF/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
六月 15, 2014 1:38:41 下午 org.hibernate.annotations.common.Version <clinit>
INFO: Hibernate Commons Annotations 3.2.0.Final
六月 15, 2014 1:38:41 下午 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.6.10.Final
六月 15, 2014 1:38:41 下午 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
六月 15, 2014 1:38:41 下午 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : javassist
六月 15, 2014 1:38:41 下午 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
六月 15, 2014 1:38:41 下午 org.hibernate.cfg.Configuration configure
INFO: configuring from url: file:/D:/apache-tomcat-6.0.29/webapps/DE/WEB-INF/classes/hibernate.cfg.xml
六月 15, 2014 1:38:42 下午 org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
六月 15, 2014 1:38:44 下午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.bxf.de.entity.UserInfo -> T_USERINFO
六月 15, 2014 1:38:45 下午 org.hibernate.cfg.Configuration applyHibernateValidatorLegacyConstraintsOnDDL
INFO: Hibernate Validator not found: ignoring
六月 15, 2014 1:38:45 下午 org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
INFO: Building new Hibernate SessionFactory
六月 15, 2014 1:38:45 下午 org.hibernate.cfg.search.HibernateSearchEventListenerRegister enableHibernateSearch
INFO: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
六月 15, 2014 1:38:45 下午 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
六月 15, 2014 1:38:45 下午 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
六月 15, 2014 1:38:45 下午 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
六月 15, 2014 1:38:45 下午 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/de
六月 15, 2014 1:38:45 下午 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=root, password=****, characterEncoding=utf-8, pool.size=20}
六月 15, 2014 1:38:46 下午 org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.MySQL5Dialect
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Database ->
       name : MySQL
    version : 5.6.16
      major : 5
      minor : 6
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Driver ->
       name : MySQL Connector Java
    version : mysql-connector-java-5.1.31 ( Revision: alexander.soklakov@oracle.com-20140520065950-groqzzbvxprqdmnz )
      major : 5
      minor : 1
六月 15, 2014 1:38:46 下午 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
六月 15, 2014 1:38:46 下午 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 50
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC result set fetch size: 200
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 2
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
六月 15, 2014 1:38:46 下午 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory createRegionFactory
INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
六月 15, 2014 1:38:46 下午 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Check Nullability in Core (should be disabled when Bean Validation is on): enabled
六月 15, 2014 1:38:46 下午 org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [blob] overrides previous : org.hibernate.type.BlobType@1fbd7ea
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@1fbd7ea
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@11c6477
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@29efbf
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [clob] overrides previous : org.hibernate.type.ClobType@13b026e
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@13b026e
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@1c7736
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@d68ecc
六月 15, 2014 1:38:46 下午 org.hibernate.type.BasicTypeRegistry register
INFO: Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@3926cc
六月 15, 2014 1:38:47 下午 org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
六月 15, 2014 1:38:47 下午 org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
六月 15, 2014 1:38:47 下午 org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
六月 15, 2014 1:38:48 下午 org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: schema export complete
六月 15, 2014 1:38:49 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 13394 ms
六月 15, 2014 1:38:50 下午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info
INFO: Parsing configuration file [struts-default.xml]
六月 15, 2014 1:38:51 下午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info
INFO: Parsing configuration file [struts-plugin.xml]
六月 15, 2014 1:38:51 下午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info
INFO: Parsing configuration file [struts.xml]
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (spring) for (com.opensymphony.xwork2.ObjectFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper)
六月 15, 2014 1:38:51 下午 org.apache.struts2.config.AbstractBeanSelectionProvider info
INFO: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)
六月 15, 2014 1:38:51 下午 org.apache.struts2.spring.StrutsSpringObjectFactory info
INFO: Initializing Struts-Spring integration...
六月 15, 2014 1:38:51 下午 com.opensymphony.xwork2.spring.SpringObjectFactory info
INFO: Setting autowire strategy to name
六月 15, 2014 1:38:51 下午 org.apache.struts2.spring.StrutsSpringObjectFactory info
INFO: ... initialized Struts-Spring integration successfully
六月 15, 2014 1:38:52 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
六月 15, 2014 1:38:53 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
六月 15, 2014 1:38:53 下午 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
六月 15, 2014 1:38:53 下午 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
六月 15, 2014 1:38:53 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
六月 15, 2014 1:38:53 下午 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
六月 15, 2014 1:38:53 下午 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
六月 15, 2014 1:38:53 下午 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
六月 15, 2014 1:38:54 下午 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/103  config=null
六月 15, 2014 1:38:54 下午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 21521 ms

hibernate有两种配置文件的方式1、hibernate.cfg.xml  2、hibernate.properties,

提示信息是说在classpath里没有找到hibernate.properties的配置文件。但这个不影响,因为我用的hibernate.cfg.xml配置文件。

然后hibernate会自动去找hibernate.cfg.xml配置文件,hibernate找到了此配置文件,然后就进行初始化操作。

上面第三处标红的地方( Building new Hibernate SessionFactory)就是hibernate在找到hibernate.cfg.xml配置文件之后新创建了一个sessionFactory。

所以,没有错误异常,只是提示信息,是OK的!


0 0