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
|
Test du Many to Many
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.annotations.Version <clinit>
Infos: Hibernate Annotations 3.3.1.GA
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Environment <clinit>
Infos: Hibernate 3.2.5
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Environment <clinit>
Infos: hibernate.properties not found
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Environment buildBytecodeProvider
Infos: Bytecode provider name : cglib
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Environment <clinit>
Infos: using JDK 1.4 java.sql.Timestamp handling
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration configure
Infos: configuring from resource: /hibernate.cfg.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration getConfigurationInputStream
Infos: Configuration resource: /hibernate.cfg.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Famille.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Responsable.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Localisation.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Technique.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Technicien.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Domaine.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Droit.hbm.xml
nov. 08, 2012 1:28:40 PM org.hibernate.cfg.Configuration addResource
Infos: Reading mappings from resource : domaine/Produit.hbm.xml
Initial SessionFactory creation failed.org.hibernate.MappingException: Unable to load class declared as <mapping class="domaine/Technicien"/> in the configuration:
Exception in thread "main" java.lang.ExceptionInInitializerError
at domaine.HibernateUtil.<clinit>(HibernateUtil.java:28)
at Main.main(Main.java:23)
Caused by: org.hibernate.MappingException: Unable to load class declared as <mapping class="domaine/Technicien"/> in the configuration:
at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:638)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)
at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:1002)
at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:69)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1508)
at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:990)
at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:69)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1428)
at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:972)
at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:69)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1414)
at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:966)
at domaine.HibernateUtil.<clinit>(HibernateUtil.java:24)
... 1 more
Caused by: java.lang.ClassNotFoundException: domaine/Technicien
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:635)
... 14 more
Java Result: 1 |
Partager