Monday, August 14, 2023

Re: [GWT] [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core'

Thanks Colin! Indeed the Ant classpath was using the old GWT 2.8.1... My bad, sorry.

Tiberiu

On Mon, Aug 14, 2023 at 4:33 PM Colin Alworth <colin@colinalworth.com> wrote:
Tiberiu, the fact that it works in Eclipse strongly suggests to me that the ant classpath is different from the eclipse project classpath. That different configuration will lead to different results. This error is typically indicative of some other error happening (typically classpath related) - double check that, and add the "-strict" argument to the Compiler invocation to make sure you see any earlier errors as well (if any).

On Tuesday, August 8, 2023 at 4:48:56 PM UTC-5 tiberiu...@gmail.com wrote:
Hello everyone,

I just upgraded to GWT 2.10.0 from 2.8.1 and I receive the same error when compiling through an Ant build.

The code and scripts are identical and is compiling just fine with Java 1.8, GWT 2.8.1 and Eclipse 4.17. However with Java 13 or 17, GWT 2.10.0 and Eclipse 4.28 gives the error. Although in the second configuration it compiles successfully through the Eclipse GWT plugin it does not compile using the Ant build. But the GWT module is the same...

What am I missing?

Thanks you,
Tiberiu

On Friday, October 7, 2022 at 4:14:31 PM UTC+3 Thomas Broyer wrote:
See https://www.gwtproject.org/release-notes.html#Release_Notes_2_10_0
GWT *runs* on JDKs from 8 to 17; you can however only compile Java 11 –at most– source files (depending on -sourceLevel).

When facing that kind of error, make sure you run with -failOnError (or its older name: -strict), and possibly use a more verbose -logLevel.


On Friday, October 7, 2022 at 2:51:17 PM UTC+2 ngf.ch...@gmail.com wrote:
Hello here.
I would like to react for this threat. Would at this time (2022) gwt supports java 12?
For I am experiencing the error mentioned above.
Thanks in advance.


On Monday, May 20, 2019 at 12:59:25 AM UTC ma...@craig-mitchell.com wrote:
I don't believe GWT supports Java 12 yet.  I'd recommend just using Java 8.

And you might want to use the latest GWT version (2.8.2).

--
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 on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f80c2b1a-4d88-4b5c-9bb2-46ed557d0565n%40googlegroups.com.

--
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 on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CALMvfNA5MR0L%3DLDxbaO%2BAhYpkfrQMozvbvDiH22TRZP0cf_-Bw%40mail.gmail.com.

No comments:

Post a Comment