日期:2014-05-17  浏览次数:20858 次

spring mvc + hibernate3 出错
2014-01-08 15:49:42  INFO [ContextLoader.java:187] org.springframework.web.context.ContextLoader.initWebApplicationContext() - Root WebApplicationContext: initialization started
2014-01-08 15:49:42  INFO [AbstractApplicationContext.java:456] org.springframework.web.context.support.XmlWebApplicationContext.prepareRefresh() - Refreshing Root WebApplicationContext: startup date [Wed Jan 08 15:49:42 CST 2014]; root of context hierarchy
2014-01-08 15:49:42  INFO [XmlBeanDefinitionReader.java:315] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions() - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2014-01-08 15:49:43  INFO [DefaultListableBeanFactory.java:555] org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons() - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@988707: defining beans [dataSource,sessionFactory,UserDao,UserService,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,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice]; root of factory hierarchy
2014-01-08 15:49:43  INFO [Environment.java:570] org.hibernate.cfg.Environment.<clinit>() - Hibernate 3.5.6-Final
2014-01-08 15:49:43  INFO [Environment.java:603] org.hibernate.cfg.Environment.<clinit>() - hibernate.properties not found
2014-01-08 15:49:43  INFO [Environment.java:781] org.hibernate.cfg.Environment.buildBytecodeProvider() - Bytecode provider name : javassist
2014-01-08 15:49:43  INFO [Environment.java:662] org.hibernate.cfg.Environment.<clinit>() - using JDK 1.4 java.sql.Timestamp handling
2014-01-08 15:49:43  INFO [Configuration.java:386] org.hibernate.cfg.Configuration.addFile() - Reading mappings from file: D:\javaEclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springMVC\WEB-INF\classes\com\springMVC\entity\Users.hbm.xml
2014-01-08 15:49:43  INFO [HbmBinder.java:348] org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues() - Mapping class: com.springMVC.entity.Users -> users
2014-01-08 15:49:43  INFO [LocalSessionFactoryBean.java:777] org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory() - Building new Hibernate SessionFactory
2014-01-08 15:49:43  INFO [ConnectionProviderFactory.java:173] org.hibernate.connection.ConnectionProviderFactory.initializeConnectionProviderFromConfig() - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
2014-01-08 15:49:43  INFO [SettingsFactory.java:117