Closed p4535992 closed 7 months ago
You can "just" use Maven debug logs (mvn -X …
), or set the logLevel
property, either in your POM or from the command-line as -Dgwt.logLevel=DEBUG
https://tbroyer.github.io/gwt-maven-plugin/devmode-mojo.html#logLevel
BTW, you may want to use gwt:codeserver
with launcherDir
rather than gwt:devmode
with -noserver
.
Ty i'll try that
Nothing no information regarding the cause of the error if i delete the module.gwt.xml
file instead it starts without any problems...
mvn -X e -Dgwt.logLevel=DEBUG gwt:generate-module compile gwt:devmode
logs.txt
Ah! Your moduleName is xxx.myproject.client.DesktopApp
which means the module.gwt.xml
will end up at xxx/myproject/client/DesktopApp.gwt.xml
, and it includes <source path="client"/>
which means your Java sources need to be in package xxx.myproject.client.client
. This excludes the entrypoint class xxx.myproject.client.DesktopApp
.
I would rename the moduleName
to xxx.myproject.DesktopApp
(make sure to also update the <script src="">
in your HTML host page).
Sorry for delay. it was that ! ty very much. Really appreciate the fast response
I run this command
gwt:generate-module compile gwt:devmode
on my project . but i keep getting this error without really understanding what the problem isIs there any parameter I can enable to display more details about the error ?
Here the properties:
Here the
src/main/module.gwt.xml
Here the plugin pom: