Wednesday, June 29, 2022

Re: What are legal "user.agent=" values?


But only to now getting stuck with: 
...
[INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhquest-web ---
[INFO] Compiling module ch.zh.ksta.zhquest.ZHQuestWebDevelopment
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.IllegalArgumentException
[INFO]  at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
[INFO]  at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)


Now you have conflicting versions of ASM in your class path. The IllegalArgumentException within ASM's ClassVisitor class constructor is usually thrown when you have a class file compiled with a newer Java version than ASM supports. So I guess you have a relatively old ASM version on classpath. GWT itself depends on ASM 9.2 (see: https://mvnrepository.com/artifact/org.gwtproject/gwt-dev/2.10.0 ). ASM 9.2 supports java up to version 18.

-- J.

--
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/e71dc5da-fce6-47b4-b47a-c0c86d7b33e9n%40googlegroups.com.

No comments:

Post a Comment