That could definitely be the issue. Unfortunately, when we move back to a previous version of the project we still get the same error so we think it might be something with the eclipse environment and are going to try a new eclipse install.
On Monday, May 14, 2018 at 12:34:20 PM UTC-4, Thomas Broyer wrote: > > 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*) >>>> >>> >>> This close(AutoCloseable) method was added in 2.8: >>> https://github.com/gwtproject/gwt/commit/349210a31ec593cb499ac73a80743b89bd8d5aac >>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
