gui*_*mie 4 javascript java gwt compiler-errors java-ee
我最近开始开发另一个GWT模块.所以我创建了一个包含所有新类和一个实现新入口点的特定类的包.我在我的gwt.xml中修改了我的新入口点.当我编译时,我收到以下错误:
GWT Compiling client-side code.
WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be removed in a future release.
Use 'com.google.gwt.dev.Compiler' instead.
(To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM arg.)
Compiling module com.test.gwt
Finding entry point classes
[ERROR] Unable to find type 'com.test.ajax.input.createEntryPoint'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
Run Code Online (Sandbox Code Playgroud)
这不是大写字母错误,gwt.xml中的路径和我的实际包都写得一样......任何线索?
mab*_*abn 10
例如,将目录/包结构更改为:
com/test/ajax/input/client/createEntryPoint.java
com/test/ajax/input/Module.gwt.xml
Run Code Online (Sandbox Code Playgroud)
您的Module.gwt.xml应包含以下行:
<entry-point class="com.test.ajax.input.client.createEntryPoint"/>
Run Code Online (Sandbox Code Playgroud)
更多:http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html
| 归档时间: |
|
| 查看次数: |
10403 次 |
| 最近记录: |