Advice Needed - moving to GWT 2.8.2 from 2.7 compile error

1,161 views
Skip to first unread message

Rachel

unread,
May 4, 2018, 11:09:08 AM5/4/18
to GWT Users
I couldn't find another post with this same error but if there is one I apologize.
We are moving a project from GWT 2.7 to GWT 2.8.2 but when we try to compile with Ant we are getting the following error and we haven't found a way to resolve it.
Any suggestions would be appreciated.

Buildfile: C:\Users\s235985\workspace\wkflw_test\Approval\build.xml

init:

prepareGWT:

[java] Exception in thread "main" java.lang.NoSuchMethodError: com.google.gwt.util.regexfilter.RegexFilter: method <init>()V not found

[java] at com.google.gwt.util.regexfilter.WhitelistRegexFilter.<init>(WhitelistRegexFilter.java:21)

[java] at com.google.gwt.dev.jjs.JJSOptionsImpl.<init>(JJSOptionsImpl.java:54)

[java] at com.google.gwt.dev.PrecompileTaskOptionsImpl.<init>(PrecompileTaskOptionsImpl.java:39)

[java] at com.google.gwt.dev.CompilerOptionsImpl.<init>(CompilerOptionsImpl.java:30)

[java] at com.google.gwt.dev.Compiler.main(Compiler.java:108)

BUILD FAILED

C:\Users\s235985\workspace\wkflw_test\Approval\build.xml:48: Java returned: 1

Total time: 6 minutes 20 seconds



Paul Robinson

unread,
May 4, 2018, 1:43:49 PM5/4/18
to google-we...@googlegroups.com
Check to see if you're mixing GWT versions. Maybe more than one GWT jar file in your path.

Paul

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

Rachel

unread,
May 7, 2018, 1:09:05 PM5/7/18
to GWT Users
Thank you for the suggestion. I thought I had changed all the jar files but I re-configured the build path and that seems to have solved the error.


On Friday, May 4, 2018 at 1:43:49 PM UTC-4, Paul Robinson wrote:
Check to see if you're mixing GWT versions. Maybe more than one GWT jar file in your path.

Paul

On Fri, 4 May 2018, 16:09 Rachel, <rachel...@gmail.com> wrote:
I couldn't find another post with this same error but if there is one I apologize.
We are moving a project from GWT 2.7 to GWT 2.8.2 but when we try to compile with Ant we are getting the following error and we haven't found a way to resolve it.
Any suggestions would be appreciated.

Buildfile: C:\Users\s235985\workspace\wkflw_test\Approval\build.xml

init:

prepareGWT:

[java] Exception in thread "main" java.lang.NoSuchMethodError: com.google.gwt.util.regexfilter.RegexFilter: method <init>()V not found

[java] at com.google.gwt.util.regexfilter.WhitelistRegexFilter.<init>(WhitelistRegexFilter.java:21)

[java] at com.google.gwt.dev.jjs.JJSOptionsImpl.<init>(JJSOptionsImpl.java:54)

[java] at com.google.gwt.dev.PrecompileTaskOptionsImpl.<init>(PrecompileTaskOptionsImpl.java:39)

[java] at com.google.gwt.dev.CompilerOptionsImpl.<init>(CompilerOptionsImpl.java:30)

[java] at com.google.gwt.dev.Compiler.main(Compiler.java:108)

BUILD FAILED

C:\Users\s235985\workspace\wkflw_test\Approval\build.xml:48: Java returned: 1

Total time: 6 minutes 20 seconds



--
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+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages