[plugins][JOnAS]PB tutoriel EJB avec JOnAS et eclipse
bonjour a tous
voila g fais le tutoriel et a la fin au moment de construire et deployer les EJB g un pb :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| Buildfile: C:\eclipse\workspace\firstEJB\components\build.xml
install:
Trying to override old definition of task ejbjar
init:
jonasejbjar:
[ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.FullAnalyzer
[ejbjar] building helloworld.jar with 5 files
[genic] GenIC fatal error: Cannot read the Deployment Descriptors from C:\eclipse\workspace\firstEJB\output\ejbjars\helloworld-generic.jar: resource-ref missing for jonas-resource jdbc/mydb
[genic] org.objectweb.jonas_ejb.genic.GenIC error: java.lang.reflect.InvocationTargetException
[genic] java.lang.reflect.InvocationTargetException
[genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[genic] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[genic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[genic] at java.lang.reflect.Method.invoke(Method.java:324)
[genic] at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:351)
[genic] Caused by: java.lang.RuntimeException: Cannot read the Deployment Descriptors from C:\eclipse\workspace\firstEJB\output\ejbjars\helloworld-generic.jar: resource-ref missing for jonas-resource jdbc/mydb
[genic] at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:879)
[genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:429)
[genic] ... 5 more
BUILD FAILED: C:\eclipse\workspace\firstEJB\components\build.xml:8: Following error occured while executing this line
C:\eclipse\workspace\firstEJB\components\helloworld\build.xml:65: GenIC reported an error.
Total time: 3 seconds |
Je comprends pas trop les versions des outils que g utilisé sont eclipse v3.0 et Ant 1.6.1 avec le jope pour eclipse 3.x pour jonas g utilisé celui du tutoriel..
si qq un peut me donner un coup de main ca serait cool merci