Bonjour,
J'essai le tutoriel et lors de la création des EJB, j'ai le message d'erreur suivant :
Quelqu'un aurait il une idéé ??
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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 Buildfile: C:\Program Files\eclipse\workspace\Jonas\components\build.xml install: Trying to override old definition of task ejbjar init: jonasejbjar: [ejbjar] building helloWorld.jar with 5 files [genic] GenIC for JOnAS 4.1: Beans 'helloWorldEJB' generation ... [genic] C:\DOCUME~1\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBHome.java:27: cannot resolve symbol [genic] symbol : class helloWorldHome [genic] location: interface helloWorld.helloWorld [genic] public class JOnAShelloWorldEJBHome extends JSessionHome implements helloWorld.helloWorldHome { [genic] ^ [genic] C:\DOCUME~1\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBHome.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\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBRemote.java:20: cannot resolve symbol [genic] symbol : class helloWorld [genic] location: interface helloWorld.helloWorld [genic] public class JOnAShelloWorldEJBRemote extends JSessionRemote implements helloWorld.helloWorld { [genic] ^ [genic] C:\DOCUME~1\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBHome.java:66: cannot resolve symbol [genic] symbol : class helloWorld [genic] location: interface helloWorld.helloWorld [genic] return (helloWorld.helloWorld) bs.getRemote(); [genic] ^ [genic] C:\DOCUME~1\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBHome.java:106: cannot resolve symbol [genic] symbol : class JOnAShelloWorldEJBRemote [genic] location: interface helloWorld.helloWorld [genic] return new helloWorld.JOnAShelloWorldEJBRemote((JStatelessFactory)bf); [genic] ^ [genic] C:\DOCUME~1\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBRemote.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\tca\LOCALS~1\Temp\genic56933.tmp\helloWorld\JOnAShelloWorldEJBRemote.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] Failed when compiling the generated classes via java compiler [genic] GenIC fatal error: [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:985) [genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:448) [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:90) [ejbjar] BUILD FAILED: file:C:/Program Files/eclipse/workspace/Jonas/components/helloWorld/build.xml:65: GenIC reported an error. Total time: 8 seconds
Merci
[Modéré par Didier]
Ajout de tag dans le titre
Lire les règles du forum : Règles du forum Java
Partager