Bonjour à tous,
J'ai réussi à me créer un petit projet Maven-Hibernate-Spring-GWT, dans lequel j'essaie d'intégrer la GWT-EXT.
Voici mon fichier .gwt.xml
Quand j'execute mon projet j'ai l'erreur suivante:Code:
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 <?xml version="1.0" encoding="UTF-8"?> <module rename-to='MonModule'> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User' /> <!-- We need the JUnit module in the main module, --> <!-- otherwise eclipse complains (Google plugin bug?) --> <inherits name='com.google.gwt.junit.JUnit' /> <!-- Inherit the default GWT style sheet. You can change --> <!-- the theme of your GWT application by uncommenting --> <!-- any one of the following lines. --> <inherits name='com.google.gwt.user.theme.standard.Standard' /> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> <!-- Other module inherits --> <!-- Inherit the GWTExt Toolkit library configuration. --> <inherits name="com.gwtext.GwtExt"/> <stylesheet src="js/ext/resources/css/ext-all.css"/> <script src="js/ext/adapter/ext/ext-base.js"/> <script src="js/ext/ext-all.js"/> <!-- Specify the app entry point class. --> <entry-point class='com.test.gwt.client.MonModule' /> <!-- Specify the paths for translatable code --> <source path='client' /> <source path='shared' /> </module>
Je viens de m'apercevoir qu'il me manque les fichiers suivants:Code:
1
2
3
4
5
6
7
8
9
10
11
12
13 [DEBUG] [MonModule] - Validating newly compiled units [TRACE] [MonModule] - Finding entry point classes [ERROR] [MonModule] - Errors in 'file:/C:/Documents%20and%20Settings/tm399/workspaceHelios/monTestGwt/src/main/java/com/test/gwt/client/MonModule.java' [ERROR] [MonModule] - Line 24: No source code is available for type com.gwtext.client.widgets.Panel; did you forget to inherit a required module? [ERROR] [MonModule] - Line 28: No source code is available for type com.gwtext.client.widgets.form.FormPanel; did you forget to inherit a required module? [ERROR] [MonModule] - Line 42: No source code is available for type com.gwtext.client.widgets.form.TextField; did you forget to inherit a required module? [ERROR] [MonModule] - Line 53: No source code is available for type com.gwtext.client.widgets.form.VType; did you forget to inherit a required module? [ERROR] [MonModule] - Line 56: No source code is available for type com.gwtext.client.widgets.form.TimeField; did you forget to inherit a required module? [ERROR] [MonModule] - Unable to find type 'com.test.gwt.client.MonModule' [ERROR] [MonModule] - Hint: Previous compiler errors may have made this type unavailable [ERROR] [MonModule] - 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 [ERROR] [MonModule] - Failed to load module 'MonModule' from user agent 'Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' at localhost:1954
Mais une fois récupéré où dois je les mettre?Code:
1
2
3
4 <stylesheet src="js/ext/resources/css/ext-all.css"/> <script src="js/ext/adapter/ext/ext-base.js"/> <script src="js/ext/ext-all.js"/>
Merci d'avance.