Salut,
voila un problème qui me pose pas mal de souci :
Environnement :
Ant pour la compil
EJB avec Xdoclet pour la génération et deploiement.
Jonas/jetty pour le serveur Web/J2EE
et mysql comme serveur Database...
vla l'erreur :
[ejbjar] building essai.jar with 10 files
[genic] GenIC fatal error: Cannot read the Deployment Descriptors from C:\Me
lanie\DESS\ADO\essai\ejb\essai-generic.jar: primkey-field idEssai is not listed
as cmp-field in bean EssaiBean
[genic] org.objectweb.jonas_ejb.genic.GenIC error: java.lang.reflect.Invocat
ionTargetException
[genic] java.lang.reflect.InvocationTargetException
[genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[genic] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[genic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[genic] at java.lang.reflect.Method.invoke(Method.java:324)
[genic] at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:398)
[genic] Caused by: java.lang.RuntimeException: Cannot read the Deployment De
scriptors from C:\Melanie\DESS\ADO\essai\ejb\essai-generic.jar: primkey-field id
Essai is not listed as cmp-field in bean EssaiBean
[genic] at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:875
)
[genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:428)
[genic] ... 5 more
BUILD FAILED
file:CMelanie/DESS/ADO/essai/ejb/build.xml:109: GenIC reported an error.
si quelqu'1 a une idée
Gob