Wednesday, December 19, 2018

Re: Caused by: java.lang.NoClassDefFoundError: com/google/gson/JsonParseException ?

For both versions the Maven pom.xml for gwt-servlet artifact declares an optional dependency to GSON. It is optional because it is only needed when you use StackTraceDeobfuscator on the server. So if you use that, you need to add GSON manually to your pom.

Maybe you updated some other libraries too which have included GSON transitively but now don't.

-- 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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment