我最近開始開發另一個GWT模塊。所以我創建了一個包含所有新類和一個實現新入口點的特定類的包。我在我的gwt.xml中修改了我的新入口點。當我編譯,我得到以下錯誤:GWT - 找不到入口點類
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兩路,我實際的包都寫一樣的...任何線索?
GWT編譯器可能不會指向您的任何代碼。你是通過Eclipse還是其他方式使用GWT?你知道爲什麼你會得到過時的警告嗎?你如何實際調用編譯器。 – Pace 2011-05-14 12:59:46
我正在使用netbeans插件gwt4nb。不推薦使用的警告一直存在,即使我的代碼可以編譯並正常工作。林不知道你的意思是「調用」,但要啓動編譯過程,我右鍵單擊我的項目,並點擊構建。試過清潔,沒有改變任何東西。 – guiomie 2011-05-14 13:18:26