IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Hibernate Java Discussion :

probleme d'exection appli hibernate


Sujet :

Hibernate Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    88
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 88
    Par défaut probleme d'exection appli hibernate
    Bonjour,

    J'ai un souci d'execution pour appli hibernate, j'ai passé une journée entier sans résultat, j'ai télécharger tous les versions de jar pour mon appli, mais aucun résultat, je suis débutant en hibernate, si vous avez une idée comment régler ce probleme car je suis totalement bloque:

    voici l'erreur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
     
    run:
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Hibernate 3.3.0.SP1
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: hibernate.properties not found
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Bytecode provider name : javassist
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: using JDK 1.4 java.sql.Timestamp handling
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: configuring from resource: /hibernate.cfg.xml
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Configuration resource: /hibernate.cfg.xml
         [java] 23 mars 2009 00:21:52 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Reading mappings from resource : events/Event.hbm.xml
         [java] 23 mars 2009 00:21:53 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Mapping class: events.Event -> EVENTS
         [java] 23 mars 2009 00:21:53 org.slf4j.impl.JDK14LoggerAdapter info
         [java] INFO: Configured SessionFactory: null
         [java] Initial SessionFactory creation failed.java.lang.AbstractMethodError: org.slf4j.impl.JDK14LoggerAdapter.isTraceEnabled()Z
         [java] Exception in thread "main" java.lang.ExceptionInInitializerError
         [java] at util.HibernateUtil.<clinit>(Unknown Source)
         [java] at events.EventManager.main(Unknown Source)
         [java] Caused by: java.lang.AbstractMethodError: org.slf4j.impl.JDK14LoggerAdapter.isTraceEnabled()Z
         [java] at org.hibernate.type.NullableType.<clinit>(NullableType.java:59)
         [java] at org.hibernate.Hibernate.<clinit>(Hibernate.java:103)
         [java] at org.hibernate.type.TypeFactory.<clinit>(TypeFactory.java:69)
         [java] at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:283)
         [java] at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)
         [java] at org.hibernate.mapping.Property.isValid(Property.java:207)
         [java] at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)
         [java] at org.hibernate.mapping.RootClass.validate(RootClass.java:215)
         [java] at org.hibernate.cfg.Configuration.validate(Configuration.java:1135)
         [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1320)
         [java] ... 2 more
         [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 1 second
    j'utilise une classe HibernateUtil, mais je crois que j'ai un probleme de .jar,
    merci pour votre aide

  2. #2
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    ta version de slf4j est probablement trop ancienne. Elle n'implémente pas correctement le méthode "isTraceEnabled". soit tu met à jour, soit tu retire slf4j

  3. #3
    Membre expérimenté Avatar de erictoguem
    Profil pro
    Étudiant
    Inscrit en
    Novembre 2006
    Messages
    150
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Novembre 2006
    Messages : 150
    Par défaut Je pencherais plus pour ta version d'hibernate
    Je pencherais plus pour ta version d'hibernate

Discussions similaires

  1. Probleme de lecture Sous Hibernate
    Par Invité dans le forum Hibernate
    Réponses: 11
    Dernier message: 24/03/2010, 11h16
  2. probleme d'execution appli sous HIBERNATE
    Par taouja dans le forum Hibernate
    Réponses: 0
    Dernier message: 24/03/2009, 03h07
  3. hibernate probleme pour trouver le hibernate.cfg.xml
    Par senediene dans le forum Hibernate
    Réponses: 3
    Dernier message: 02/09/2007, 12h29
  4. Problème d'installation d'Hibernate
    Par foussil dans le forum Hibernate
    Réponses: 4
    Dernier message: 07/11/2006, 22h39
  5. Probleme de mapping avec Hibernate
    Par kodo dans le forum Hibernate
    Réponses: 10
    Dernier message: 31/07/2006, 09h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo