Discussion:
Advice Needed - moving to GWT 2.8.2 from 2.7 compile error
Rachel
2018-05-04 12:26:31 UTC
Permalink
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Paul Robinson
2018-05-04 17:43:06 UTC
Permalink
Check to see if you're mixing GWT versions. Maybe more than one GWT jar
file in your path.

Paul
Post by Rachel
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*
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
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@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
2018-05-07 17:09:05 UTC
Permalink
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.
Post by Paul Robinson
Check to see if you're mixing GWT versions. Maybe more than one GWT jar
file in your path.
Paul
Post by Rachel
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*
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
<javascript:>.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Loading...