Friday, July 11, 2025

Re: Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error



On Friday, July 11, 2025 at 8:32:07 AM UTC+2 arpanam...@gmail.com wrote:

Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR project to be compatible with JDK 17. While configuring Super Dev Mode using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) in IntelliJ (Community Edition 2024.3.5), we are encountering an error when executing the gwt:codeserver goal.


What kind of changes have made so far? Where do you come from?
It looks like you possibly changing many things at once (including migrating from whatever you were using previously to the net.ltgt.gwt.maven:gwt-maven-plugin)
 
Environment:
  • JDK: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)

  • Maven: 3.9.9

  • Plugin: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2


Any reason you're not using the latest version?
 
  • IDE: IntelliJ IDEA Community Edition 2024.3.5

  • GWT Mode: gwt:codeserver via IntelliJ Maven goal runner

Issue:

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

You also have a bunch of warnings related to your dependencies that you'd want to fix. 

pgsql

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]

https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
"The projects property can also be used to run the CodeServer on modules which are not gwt-app (e.g. war)."

https://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html#projects
"Defaults to all the gwt-app projects in the reactor."

You have a single project that has packaging=war.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7d52c65c-de46-43fe-aab6-e2f461f8c0d6n%40googlegroups.com.

No comments:

Post a Comment