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

2018-12-19 Thread Ed
Ok, thanks for clearing that up. -- 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+unsubscr...@googlegroups.com. To post to this group, send email

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

2018-12-19 Thread Ed
I just upgraded to GWT 2.8.2, that works fine. I just noticed that in case the deobfuscator throws an exception as it can't find the GSON JsonParseException, why is that? Caused by: java.lang.NoClassDefFoundError: com/google/gson/JsonParseException I can't remember that was in GWT 2.8.0, but I

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

2018-12-19 Thread Jens
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

Re: A class cast exception when upgrading from GWT 2.8.0 to 2.8.2 ?

2018-12-19 Thread Ed
Yesss, the above solution worked. Luckily it was the only construction I had, I only had to rewrite this one. Sorry, there will not be any upgrade to 3.0 -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

Re: A class cast exception when upgrading from GWT 2.8.0 to 2.8.2 ?

2018-12-19 Thread Jens
> BTW: what is the correct way to solve this? > > Should I make a new class that extends both JavaScriptObject and > implements ZtoeslagAppConfig? > Yes, and getPages() would be implemented using JSNI. That also means that AppPage should be a JSO (and might implement in interface).

Re: A class cast exception when upgrading from GWT 2.8.0 to 2.8.2 ?

2018-12-19 Thread Ed
BTW: what is the correct way to solve this? Should I make a new class that extends both JavaScriptObject and implements ZtoeslagAppConfig? So it would be: SimpleZtoeslagAppConfig extends JavaScriptObject implements ZtoeslagAppConfig { } *private* SimpleZtoeslagAppConfig getZtoeslagConfig() {

Re: A class cast exception when upgrading from GWT 2.8.0 to 2.8.2 ?

2018-12-19 Thread Ed
Thanks for the inside Jens, I think that could be it, I will test it. Ed -- 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