Citation Envoyé par likoudA
bonjour,
je suis novice a GWT, et je veux realiser une petite appli avec les EJBs, sauf que j'ai toujours la meme erreur a savoir :
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
Compiling module org.yournamehere.Main
   Refreshing module from source
      Validating newly compiled units
         Removing units with errors
            [ERROR] Errors in 'file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTService.java'
               [ERROR] Line 23: No source code is available for type org.ovh.com.entities.Domain; did you forget to inherit a required module?
            [ERROR] Errors in 'file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTServiceAsync.java'
               [ERROR] Line 23: No source code is available for type org.ovh.com.entities.Domain; did you forget to inherit a required module?
            [ERROR] Errors in 'file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTServiceUsageExamples.java'
               [ERROR] Line 72: No source code is available for type org.ovh.com.entities.Domain; did you forget to inherit a required module?
         Removing invalidated units
            [WARN] Compilation unit 'file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/MainEntryPoint.java' is removed due to invalid reference(s):
               [WARN] file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTServiceUsageExamples.java
            [WARN] Compilation unit 'file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTServiceUsageExample.java' is removed due to invalid reference(s):
               [WARN] file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTService.java
               [WARN] file:/F:/netbeans/Ovh/Ovh-war/src/java/org/yournamehere/client/GWTServiceAsync.java
   Computing all possible rebind results for 'org.yournamehere.client.MainEntryPoint'
      Rebinding org.yournamehere.client.MainEntryPoint
         Checking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
            [ERROR] Unable to find type 'org.yournamehere.client.MainEntryPoint'
               [ERROR] Hint: Previous compiler errors may have made this type unavailable
               [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
F:\netbeans\Ovh\nbproject\build-impl.xml:137: The following error occurred while executing this line:
F:\netbeans\Ovh\Ovh-war\nbproject\build-gwt.xml:15: Java returned: 1
BUILD FAILED (total time: 8 seconds)
ensuite j'ai créé un fichier dans le repertoire DomainGWT.gwt.xml de mes ejb dans lequel j'ai ecris :

<module>
<source path="entities"/>
<source path="sessions"/>

</module>
et je l'ai ajouter dans le Main.gwt.xml comme suit :
<inherits name="org.ovh.com.DomainGWT"/>

mais ce n'est reglé et je ne sais pas pourkoi.