1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| 11:49:34,936 INFO Environment:479 - Hibernate 3.1.2
11:49:34,946 INFO Environment:509 - hibernate.properties not found
11:49:34,946 INFO Environment:525 - using CGLIB reflection optimizer
11:49:34,946 INFO Environment:555 - using JDK 1.4 java.sql.Timestamp handling
11:49:35,367 INFO HbmBinder:309 - Mapping class: unidirectionnel.bean.Personne -> PERSONNE
11:49:35,477 INFO HbmBinder:309 - Mapping class: unidirectionnel.bean.Telephone -> TELEPHONE
11:49:35,477 INFO HbmBinder:2349 - Mapping collection: unidirectionnel.bean.Personne.telephones -> TELEPHONE
11:49:35,848 INFO ConnectionProviderFactory:72 - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
11:49:36,428 INFO SettingsFactory:77 - RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
11:49:36,428 INFO SettingsFactory:78 - JDBC driver: Oracle JDBC driver, version: 9.0.1.1.0
11:49:36,448 INFO Dialect:103 - Using dialect: org.hibernate.dialect.Oracle9Dialect
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateUtil' defined in file [D:\Utilisat\a432566\Mes Documents\Workspace\HibernateOmegaPersonne3mergeSpring\src\hibernate.spring.xml]: Cannot resolve reference to bean 'SessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in file [D:\Utilisat\a432566\Mes Documents\Workspace\HibernateOmegaPersonne3mergeSpring\src\hibernate.spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in file [D:\Utilisat\a432566\Mes Documents\Workspace\HibernateOmegaPersonne3mergeSpring\src\hibernate.spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:327)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:219)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at unidirectionnel.mappings.TestUni.actionAffichage(TestUni.java:221)
at unidirectionnel.mappings.TestUni.main(TestUni.java:116)
Exception in thread "main" java.lang.NullPointerException
at unidirectionnel.mappings.TestUni.actionAffichage(TestUni.java:239)
at unidirectionnel.mappings.TestUni.main(TestUni.java:116)
11:49:36,458 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
11:49:36,458 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
11:49:36,468 INFO SettingsFactory:125 - Automatic flush during beforeCompletion(): disabled
11:49:36,468 INFO SettingsFactory:129 - Automatic session close at end of transaction: disabled
11:49:36,478 INFO SettingsFactory:136 - JDBC batch size: 15
11:49:36,478 INFO SettingsFactory:139 - JDBC batch updates for versioned data: disabled
11:49:36,478 INFO SettingsFactory:144 - Scrollable result sets: enabled
11:49:36,478 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): disabled
11:49:36,478 INFO SettingsFactory:160 - Connection release mode: on_close
11:49:36,478 INFO SettingsFactory:187 - Default batch fetch size: 1
11:49:36,478 INFO SettingsFactory:191 - Generate SQL with comments: disabled
11:49:36,478 INFO SettingsFactory:195 - Order SQL updates by primary key: disabled
11:49:36,478 INFO SettingsFactory:338 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
11:49:36,478 INFO ASTQueryTranslatorFactory:24 - Using ASTQueryTranslatorFactory
11:49:36,478 INFO SettingsFactory:203 - Query language substitutions: {}
11:49:36,488 INFO SettingsFactory:209 - Second-level cache: enabled
11:49:36,488 INFO SettingsFactory:213 - Query cache: disabled
11:49:36,488 INFO SettingsFactory:325 - Cache provider: org.hibernate.cache.EhCacheProvider |
Partager