Monday, May 14, 2018

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

Could one of your dependencies possibly "shadow" its own version of ImageResourceGenerator that had been compiled against GWT 2.8? You'd have to revert to an older version of that dependency then.

On Monday, May 14, 2018 at 3:37:34 PM UTC+2, Rachel wrote:
Thank you for responding. I'm looking at the build path and both gwt-user and gwt-dev jar files are from 2.7. Is there somewhere else I should look?

On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote:


On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote:
We have to move our project back to GWT 2.7 due to some java 1.8 issues. I've checked all my jar files to make sure they are 2.7 and no duplicate jars in the build path but am getting errors when I try to compile with Ant.
Any suggestions would be greatly appreciated. Thank you.

[java] Caused by: java.lang.NoSuchMethodError: com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V

[java] at com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(ImageResourceGenerator.java:623)


So this means you have gwt-user from 2.8 and gwt-dev from 2.7 here.

--
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