Bonjour à tous !

Je dois réaliser un projet en J2EE en utilisant JBoss, Hibernate, MySQL...
J'ai un problème au niveau de la persistance et j'aurais besoin d'aide car je galère depuis pas mal de temps ^^

J'ai écris un fichier persistance.xml dans mon projet, puis un mysql-ds.xml avec ma config. Cependant j'obtient toujours l'erreur ci-dessous quand j'essaye de lancer mon serveur :

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
 
15:59:56,231 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
 
DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.j2ee:jar=projet.jar,name=MembrePOJO,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MembrePOJO,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **")
  Deployment "jboss.j2ee:jar=projet.jar,name=MessagePrivePOJO,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MessagePrivePOJO,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **")
  Deployment "jboss.j2ee:jar=projet.jar,name=MessagePublicPOJO,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MessagePublicPOJO,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **")
  Deployment "persistence.unit:unitName=#SampleUnit" is missing the following dependencies:
    Dependency "jboss.jca:name=test,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=test,service=DataSourceBinding' **")
 
DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MessagePrivePOJO,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **
  Deployment "jboss.jca:name=test,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=test,service=DataSourceBinding' **
  Deployment "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MessagePublicPOJO,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **
  Deployment "<UNKNOWN jboss.j2ee:jar=projet.jar,name=MembrePOJO,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=#SampleUnit' **
 
15:59:56,252 INFO  [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur http-127.0.0.1-8080
15:59:56,368 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:59:56,386 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 43s:729ms
Si quelqu'un a une solution je suis preneur !
Merci