Wednesday, June 19, 2024

Re: JDK and GWT Upgrade.

[ERROR] Hint :Check that your module inherits '' either directly or indirectly (most often by inheriting module ''

I want to upgrade my application from Java 1.8 to jdk17. I'm getting the above mentioned error while compiling my code using jdk17.    I have used <inherits name=''/> in my app.gwt.xml file. GWT Version used - 2.5.1
Build tool - ANT Note : I have used gwt-dev.jar, gwt-user-2.5.1.jar, gwt-servlet.jar in my .classpath file. Build failure is happening in my 'compile-gwt' build step.

On Thursday 13 June 2024 at 19:31:58 UTC+5:30 Colin Alworth wrote:
Do note that GWT itself is built with ant - there were no ant-specific changes we made to update GWT from Java 7/8 to 11/17/21 that we build with today.

Additionally, the GWT samples that are built with ant had no changes made at all to support newer versions of Java.

Your own usage of GWT might require some changes, but without seeing what you already have and isn't working, as Craig says, we can't guess.

On Thursday, June 13, 2024 at 8:47:46 AM UTC-5 wrote:
We'd need more information.  If you just want to run on Java 17 and keep the source level at Java 8, that's easy.  However, if you want to move to the latest GWT version, and upgrade the source level to 17 for the server, and 11 for the client, that's a lot more work.  We were just talking about this yesterday on this thread:

On Thursday 13 June 2024 at 6:39:34 pm UTC+10 Agathesh Muruganandam wrote:
I'm looking to upgrade an ANT-based build tool project developed with Java and GWT to utilize Java 17. To achieve this, I'm seeking guidance on the necessary modifications within the build.xml file. Additionally, I'd appreciate insights on the most suitable Apache ANT version for compatibility with Java 17 and any other crucial changes required for a smooth transition from Java 1.8 to 17. Any advice from the community on best practices and potential challenges would be greatly appreciated. Thanks in advance!

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
To view this discussion on the web visit

No comments:

Post a Comment