Bonjour,
J'essaye de suivre ce "cours" et j'arrive à un petit problème que je ne comprends pas bien.
Quand j'utilise la commande "Create and Export all EJB JAR files...",
cette erreur apparaît (dans eclipse 3.0) :
jonasejbjar:
[ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.FullAnalyzer
[ejbjar] building helloWorld.jar with 5 files
[ejbjar] WARNING: IOException while adding entry helloWorld\helloWorldHome.class to jarfile from I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorldHome.class java.io.FileNotFoundException-I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorldHome.class (The system cannot find the path specified)
[ejbjar] WARNING: IOException while adding entry helloWorld\helloWorld.class to jarfile from I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorld.class java.io.FileNotFoundException-I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorld.class (The system cannot find the path specified)
[ejbjar] WARNING: IOException while adding entry helloWorld\helloWorldEJB.class to jarfile from I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorldEJB.class java.io.FileNotFoundException-I:\eclipse300\workspaceEJB\FirstEJB\classes\helloWorld\helloWorldEJB.class (The system cannot find the path specified)
[genic] GenIC fatal error: Cannot read the Deployment Descriptors from I:\eclipse300\workspaceEJB\FirstEJB\output\ejbjars\helloWorld-generic.jar: Home class not found for bean helloWorldEJB: helloWorld.helloWorldHome
[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(Unknown Source)
[genic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[genic] at java.lang.reflect.Method.invoke(Unknown Source)
[genic] at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:351)
[genic] Caused by: java.lang.RuntimeException: Cannot read the Deployment Descriptors from I:\eclipse300\workspaceEJB\FirstEJB\output\ejbjars\helloWorld-generic.jar: Home class not found for bean helloWorldEJB: helloWorld.helloWorldHome
[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: I:\eclipse300\workspaceEJB\FirstEJB\components\build.xml:8: Following error occured while executing this line
I:\eclipse300\workspaceEJB\FirstEJB\components\helloWorld\build.xml:65: GenIC reported an error.
Est ce que quelqu'un aurait une idée de ce qui ne va pas. Effectivement dans le répertoire Classes, il n'y a rien.... mais pourquoi ne sait-il rien ajouter (si j'ai bien compris l'erreur)?
merci
Eddy
Partager