1

我正在尝试启动 superdev 模式,但它不起作用。我没有找到异步文件。我从这个命令开始

mvn gwt:run-codeserver -Dgwt=de.srs.pen.pdkonsole.HwrEditor

[INFO] Compiling module de.srs.pen.pdkonsole.HwrEditor
[INFO]    Validating units:
[INFO]       Ignored 81 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    Finding entry point classes
[INFO]       [ERROR] Errors in 'file:/K:/workspaces/mvn_pdix/HwrEditor/src/main/java/de/srs/pen/pdkonsole/client/HwrEditor.java'
[INFO]          [ERROR] Line 35: No source code is available for type de.srs.pen.pdkonsole.client.GreetingServiceAsync; did you forget to inherit a required module?
[INFO]          [ERROR] Line 37: No source code is available for type de.srs.pen.pdkonsole.client.Messages; did you forget to inherit a required module?
[ERROR] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[INFO]       [ERROR] Unable to find type 'de.srs.pen.pdkonsole.client.HwrEditor'
[ERROR]         at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:96)
[INFO]          [ERROR] Hint: Previous compiler errors may have made this type unavailable
[ERROR]         at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
[INFO]          [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its sourcepath entries properly
[ERROR]         at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:87)
[INFO] [ERROR] Compiler returned false
[ERROR]         at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:50)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.725s
[INFO] Finished at: Wed Nov 06 16:20:40 CET 2013
[INFO] Final Memory: 19M/490M
[INFO] ------------------------------------------------------------------------

我可以使用 mvn gwt:compile 编译它,并且开发模式也可以使用 mvn gwt:run 但我不明白为什么 superdev 没有启动。我已经阅读了很多关于这个主题的东西,但我无法用这些技巧来解决它。也许这里有人有一个很好的建议,谢谢。

4

0 回答 0