Wednesday, February 24, 2021

Re: gwt compilation issues while upgrading from GWT 2.7.0 to GWT 2.9.0

IIRC, gwtx replaces/shadows some emulated classes; it's likely that it's the one causing issues here.
Try compiling with -failOnError, and/or look at the beginning of the compiler output for early problems that will cascade and cause everything else to fail.

On Tuesday, February 23, 2021 at 3:09:24 PM UTC+1 pratikt...@gmail.com wrote:
Hi Team,

Currently we are using SmartGWT 4.1 LGPL, GWT 2.7.0 & Java 1.8 with below supporting libraries

gin-2.1.2.jar
gwt-presenter-1.1.1.jar
gwtexporter-2.4.0.jar
guice-3.0.jar
javax.inject.jar
guice-assistedinject-3.0.jar
aopalliance.jar
gwtx-1.5.2.jar

While just upgrading to GWT 2.9.0 and doing gwt compile, i am getting below error,

[ERROR] Unable to find class java/lang/Enum
     [java]          Resolving method valueOf
     [java]             [ERROR] Unable to resolve type java/lang/String of argument arg0

It is also having too many occurrences of below error,

[ERROR] Unable to find class java/lang/Object

Any suggestion about how to resolve it, or if you need more details ?

Thanks

--
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/9f8b81af-df9a-4346-bfcb-f2e7fb3f5499n%40googlegroups.com.

No comments:

Post a Comment