Monday, May 14, 2018

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



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