Je suis le tutoriel sur les EJB avec Eclipse (Jonas - Jope etc) et lors du déploiement des EJB j'ai cela:
Buildfile: C:\Documents and Settings\alexis\Mes documents\eclipse-SDK-3.0.1-win32\eclipse\workspace\SecondEJB\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 - dependent class not found: org/apache/bcel/classfile/Visitor
[ejbjar] building helloWorld.jar with 5 files
[genic] GenIC for JOnAS 4.1.4: Beans 'helloWorldEJB' generation ...
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Home.java:27: cannot resolve symbol
[genic] symbol : class helloWorldHome
[genic] location: interface helloWorld.helloWorld
[genic] public class JOnAShelloWorldEJB_990072885Home extends JSessionHome implements helloWorld.helloWorldHome {
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Home.java:44: cannot resolve symbol
[genic] symbol : class helloWorld
[genic] location: interface helloWorld.helloWorld
[genic] public helloWorld.helloWorld create() throws javax.ejb.CreateException, java.rmi.RemoteException {
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Remote.java:20: cannot resolve symbol
[genic] symbol : class helloWorld
[genic] location: interface helloWorld.helloWorld
[genic] public class JOnAShelloWorldEJB_990072885Remote extends JSessionRemote implements helloWorld.helloWorld {
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Home.java:68: cannot resolve symbol
[genic] symbol : class helloWorld
[genic] location: interface helloWorld.helloWorld
[genic] return (helloWorld.helloWorld) bs.getRemote();
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Home.java:110: cannot resolve symbol
[genic] symbol : class JOnAShelloWorldEJB_990072885Remote
[genic] location: interface helloWorld.helloWorld
[genic] return new helloWorld.JOnAShelloWorldEJB_990072885Remote((JStatelessFactory)bf);
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Remote.java:41: cannot resolve symbol
[genic] symbol : class helloWorldEJB
[genic] location: interface helloWorld.helloWorld
[genic] helloWorld.helloWorldEJB b = (helloWorld.helloWorldEJB) bctx.getInstance();
[genic] ^
[genic] C:\DOCUME~1\alexis\LOCALS~1\Temp\genic43046.tmp\helloWorld\JOnAShelloWorldEJB_990072885Remote.java:41: cannot resolve symbol
[genic] symbol : class helloWorldEJB
[genic] location: interface helloWorld.helloWorld
[genic] helloWorld.helloWorldEJB b = (helloWorld.helloWorldEJB) bctx.getInstance();
[genic] ^
[genic] 7 errors
[genic] GenIC fatal error:
[genic] Failed when compiling the generated classes via java compiler
[genic] Exception during execution of org.objectweb.jonas_ejb.genic.GenIC : Failed when compiling the generated classes via java compiler
[genic] java.lang.RuntimeException: Failed when compiling the generated classes via java compiler
[genic] at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:980)
[genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:443)
[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:90)
BUILD FAILED: C:\Documents and Settings\alexis\Mes documents\eclipse-SDK-3.0.1-win32\eclipse\workspace\SecondEJB\components\build.xml:8: The following error occurred while executing this line:
C:\Documents and Settings\alexis\Mes documents\eclipse-SDK-3.0.1-win32\eclipse\workspace\SecondEJB\components\helloWorld\build.xml:59: GenIC reported an error.
Total time: 30 seconds
Help please
Partager