Widgetset compile fails java.lang.NoSuchFieldError: warningThreshold

I’m trying to compile widgetset for Vaadin 7.5.7 and I’m seeing this failure:

[INFO]
 
[INFO]
 >>> vaadin-maven-plugin:7.5.7:compile (default) > process-resources @ WebApp >>>
[INFO]
 
[INFO]
 --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ WebApp ---
[INFO]
 Source directory: /home/mcooper/ws/cmb/CmbProduct/WebApp/src-gen added.
[INFO]
 
[INFO]
 --- vaadin-maven-plugin:7.5.7:update-theme (default) @ WebApp ---
[INFO]
 Updating theme VAADIN/themes/unity
[INFO]
 Widgetsets found from classpath:
[INFO]
     cmb.ui.AppWidgetSet in file:/home/mcooper/ws/cmb/CmbProduct/WebApp/target/classes
[INFO]
     org.vaadin.teemusa.gridextensions.GridExtensionPackWidgetSet in jar:file:/home/mcooper/.m2/repository/org/vaadin/teemusa/gridextensionpack/0.2.1/gridextensionpack-0.2.1.jar!/
[INFO]
     com.vaadin.DefaultWidgetSet in jar:file:/home/mcooper/.m2/repository/com/vaadin/vaadin-client/7.5.7/vaadin-client-7.5.7.jar!/
[INFO]
 Addon styles found from classpath:
[INFO]
 
[INFO]
 Search took 39ms
[INFO]
 Theme "VAADIN/themes/unity" updated
[INFO]
 Updating theme VAADIN/themes/ThemeDebug
[INFO]
 Widgetsets found from classpath:
[INFO]
     cmb.ui.AppWidgetSet in file:/home/mcooper/ws/cmb/CmbProduct/WebApp/target/classes
[INFO]
     org.vaadin.teemusa.gridextensions.GridExtensionPackWidgetSet in jar:file:/home/mcooper/.m2/repository/org/vaadin/teemusa/gridextensionpack/0.2.1/gridextensionpack-0.2.1.jar!/
[INFO]
     com.vaadin.DefaultWidgetSet in jar:file:/home/mcooper/.m2/repository/com/vaadin/vaadin-client/7.5.7/vaadin-client-7.5.7.jar!/
[INFO]
 Addon styles found from classpath:
[INFO]
 
[INFO]
 Search took 40ms
[INFO]
 Theme "VAADIN/themes/ThemeDebug" updated
[INFO]
 
[INFO]
 --- maven-resources-plugin:2.6:resources (default-resources) @ WebApp ---
[INFO]
 Using 'UTF-8' encoding to copy filtered resources.
[INFO]
 Copying 1 resource
[INFO]
 
[INFO]
 <<< vaadin-maven-plugin:7.5.7:compile (default) < process-resources @ WebApp <<<
[INFO]
 
[INFO]
 --- vaadin-maven-plugin:7.5.7:compile (default) @ WebApp ---
[INFO]
 auto discovered modules [cmb.ui.AppWidgetSet]

[INFO]
 Compiling module cmb.ui.AppWidgetSet
[INFO]
 [ERROR]
 Unexpected internal compiler error
[INFO]
 java.lang.NoSuchFieldError: warningThreshold
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler$1.<init>(JdtCompiler.java:605)
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler.getStandardCompilerOptions(JdtCompiler.java:603)
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:633)
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:983)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:580)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:513)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:499)
[INFO]
     at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:668)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[INFO]
     at com.google.gwt.dev.Compiler.run(Compiler.java:206)
[INFO]
     at com.google.gwt.dev.Compiler.run(Compiler.java:158)
[INFO]
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
[INFO]
     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO]
     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO]
     at com.google.gwt.dev.Compiler.main(Compiler.java:127)
[INFO]
 ------------------------------------------------------------------------

The above occurs when I “mvn install” from the Parent maven project.

The pom.xml files for the parent and Vaadin project (webapp-pom.xml) are attached.

Any suggestions would be most appreciated!

21923.xml (9.56 KB)
21924.xml (5.24 KB)

If I run “mvn install -X” I see

Caused by: org.codehaus.mojo.gwt.shell.ForkedProcessExecutionException: Command [[
/bin/sh -c /usr/java/jdk1.8.0_60/jre/bin/java -Xmx512M -Xss1024k -classpath /home/mcooper/ws/cmb/CmbProduct.... truncated

It looks like the command is run via command line (/bin/sh -c …). I wonder if the length of the command line string is too long?

Found the problem. One of my dependencies pulled in “eclipse:jdtcore”. After I excluded that in maven, the compile worked fine.