[英]GWT - Can't Finding entry point classes
I have recently started developing another GWT module. 我最近开始开发另一个GWT模块。 So I created a package with all my new classes and one specific class that implements a new entrypoint.
所以我创建了一个包含所有新类和一个实现新入口点的特定类的包。 I modified in my gwt.xml to my new entrypoint.
我在我的gwt.xml中修改了我的新入口点。 When I compile, I get the following error:
当我编译时,我收到以下错误:
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
This isnt a capital letter mistake, both path in gwt.xml and my actual package are written the same... Any clues? 这不是大写字母错误,gwt.xml中的路径和我的实际包都写得一样......任何线索?
for example change your directory/package structure to this: 例如,将目录/包结构更改为:
com/test/ajax/input/client/createEntryPoint.java
com/test/ajax/input/Module.gwt.xml
Your Module.gwt.xml should contain the follownig line: 您的Module.gwt.xml应包含以下行:
<entry-point class="com.test.ajax.input.client.createEntryPoint"/>
more: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html 更多: http : //code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.