[英]GWT - Can't Finding entry point classes
我最近開始開發另一個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
這不是大寫字母錯誤,gwt.xml中的路徑和我的實際包都寫得一樣......任何線索?
例如,將目錄/包結構更改為:
com/test/ajax/input/client/createEntryPoint.java
com/test/ajax/input/Module.gwt.xml
您的Module.gwt.xml應包含以下行:
<entry-point class="com.test.ajax.input.client.createEntryPoint"/>
更多: http : //code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.