Demo page implementation

HI

MAVEN INSTALL ERROR

[ERROR]
8월 11, 2016 11:13:47 오전 java.util.prefs.WindowsPreferences
[ERROR]
경고: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
[INFO]
Compiling module com.vaadin.demo.dashboard.DashboardWidgetSet
[INFO]
[ERROR]
Unexpected internal compiler error
[INFO]
java.lang.NoSuchFieldError: warningThreshold
[INFO]
at com.google.gwt.dev.javac.JdtCompiler$1.(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]

[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 2.841 s
[INFO]
Finished at: 2016-08-11T11:13:48+09:00
[INFO]
Final Memory: 20M/309M
[INFO]

[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:7.5.10:compile (default) on project quicktickets-dashboard: Command [[
[ERROR]
C:\Program Files\Java\jdk1.8.0_91\jre\bin\java -Xmx512M -Xss1024k -classpath C:\Users\Baek.m2\repository\com\vaadin\vaadin-client\7.5.10\vaadin-client-7.5.10.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-client-compiler\7.5.10\vaadin-client-compiler-7.5.10.jar;C:\Users\Baek\workspace\quicktickets-dashboard\target\classes;C:\Users\Baek\workspace\quicktickets-dashboard\src\main\java;C:\Users\Baek\workspace\quicktickets-dashboard\src\main\resources;C:\Users\Baek.m2\repository\net\sf\jasperreports\jasperreports\5.5.0\jasperreports-5.5.0.jar;C:\Users\Baek.m2\repository\commons-beanutils\commons-beanutils\1.8.0\commons-beanutils-1.8.0.jar;C:\Users\Baek.m2\repository\commons-collections\commons-collections\2.1\commons-collections-2.1.jar;C:\Users\Baek.m2\repository\commons-digester\commons-digester\2.1\commons-digester-2.1.jar;C:\Users\Baek.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\Baek.m2\repository\com\lowagie\itext\2.1.7.js2\itext-2.1.7.js2.jar;C:\Users\Baek.m2\repository\bouncycastle\bcmail-jdk14\138\bcmail-jdk14-138.jar;C:\Users\Baek.m2\repository\bouncycastle\bcprov-jdk14\138\bcprov-jdk14-138.jar;C:\Users\Baek.m2\repository\org\bouncycastle\bctsp-jdk14\1.38\bctsp-jdk14-1.38.jar;C:\Users\Baek.m2\repository\org\bouncycastle\bcprov-jdk14\1.38\bcprov-jdk14-1.38.jar;C:\Users\Baek.m2\repository\org\bouncycastle\bcmail-jdk14\1.38\bcmail-jdk14-1.38.jar;C:\Users\Baek.m2\repository\jfree\jcommon\1.0.15\jcommon-1.0.15.jar;C:\Users\Baek.m2\repository\jfree\jfreechart\1.0.12\jfreechart-1.0.12.jar;C:\Users\Baek.m2\repository\xml-apis\xml-apis\1.3.02\xml-apis-1.3.02.jar;C:\Users\Baek.m2\repository\eclipse\jdtcore\3.1.0\jdtcore-3.1.0.jar;C:\Users\Baek.m2\repository\org\codehaus\castor\castor\1.2\castor-1.2.jar;C:\Users\Baek.m2\repository\com\fasterxml\jackson\core\jackson-core\2.1.4\jackson-core-2.1.4.jar;C:\Users\Baek.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.1.4\jackson-databind-2.1.4.jar;C:\Users\Baek.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.1.4\jackson-annotations-2.1.4.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-server\7.5.10\vaadin-server-7.5.10.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-sass-compiler\0.9.12\vaadin-sass-compiler-0.9.12.jar;C:\Users\Baek.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\Baek.m2\repository\com\vaadin\external\flute\flute\1.3.0.gg2\flute-1.3.0.gg2.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-shared\7.5.10\vaadin-shared-7.5.10.jar;C:\Users\Baek.m2\repository\com\vaadin\external\streamhtmlparser\streamhtmlparser-jsilver\0.0.10.vaadin1\streamhtmlparser-jsilver-0.0.10.vaadin1.jar;C:\Users\Baek.m2\repository\com\vaadin\external\google\guava\16.0.1.vaadin1\guava-16.0.1.vaadin1.jar;C:\Users\Baek.m2\repository\org\jsoup\jsoup\1.8.1\jsoup-1.8.1.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-themes\7.5.10\vaadin-themes-7.5.10.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-client-compiler\7.5.10\vaadin-client-compiler-7.5.10.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-client\7.5.10\vaadin-client-7.5.10.jar;C:\Users\Baek.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\Baek.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\Baek.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\Baek.m2\repository\net\sourceforge\cssparser\cssparser\0.9.11\cssparser-0.9.11.jar;C:\Users\Baek.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar;C:\Users\Baek.m2\repository\org\ow2\asm\asm\5.0.3\asm-5.0.3.jar;C:\Users\Baek.m2\repository\org\ow2\asm\asm-util\5.0.3\asm-util-5.0.3.jar;C:\Users\Baek.m2\repository\org\ow2\asm\asm-tree\5.0.3\asm-tree-5.0.3.jar;C:\Users\Baek.m2\repository\org\ow2\asm\asm-commons\5.0.3\asm-commons-5.0.3.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-annotations\8.1.12.v20130726\jetty-annotations-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-plus\8.1.12.v20130726\jetty-plus-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\javax.transaction\1.1.1.v201105210645\javax.transaction-1.1.1.v201105210645.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-jndi\8.1.12.v20130726\jetty-jndi-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-server\8.1.12.v20130726\jetty-server-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\javax.servlet\3.0.0.v201112011016\javax.servlet-3.0.0.v201112011016.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\javax.mail.glassfish\1.4.1.v201005082020\javax.mail.glassfish-1.4.1.v201005082020.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\javax.activation\1.1.0.v201105071233\javax.activation-1.1.0.v201105071233.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-webapp\8.1.12.v20130726\jetty-webapp-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-xml\8.1.12.v20130726\jetty-xml-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-servlet\8.1.12.v20130726\jetty-servlet-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-security\8.1.12.v20130726\jetty-security-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\javax.annotation\1.1.0.v201108011116\javax.annotation-1.1.0.v201108011116.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\orbit\org.objectweb.asm\3.1.0.v200803061910\org.objectweb.asm-3.1.0.v200803061910.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-servlets\8.1.12.v20130726\jetty-servlets-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-continuation\8.1.12.v20130726\jetty-continuation-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-client\8.1.12.v20130726\jetty-client-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-http\8.1.12.v20130726\jetty-http-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-io\8.1.12.v20130726\jetty-io-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\eclipse\jetty\jetty-util\8.1.12.v20130726\jetty-util-8.1.12.v20130726.jar;C:\Users\Baek.m2\repository\org\jdesktop\swing-worker\1.1\swing-worker-1.1.jar;C:\Users\Baek.m2\repository\commons-codec\commons-codec\1.8\commons-codec-1.8.jar;C:\Users\Baek.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Baek.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Baek.m2\repository\org\apache\james\apache-mime4j\0.6\apache-mime4j-0.6.jar;C:\Users\Baek.m2\repository\org\apache\httpcomponents\httpclient\4.3.1\httpclient-4.3.1.jar;C:\Users\Baek.m2\repository\org\apache\httpcomponents\httpcore\4.3\httpcore-4.3.jar;C:\Users\Baek.m2\repository\org\apache\httpcomponents\httpmime\4.3.1\httpmime-4.3.1.jar;C:\Users\Baek.m2\repository\net\sourceforge\nekohtml\nekohtml\1.9.19\nekohtml-1.9.19.jar;C:\Users\Baek.m2\repository\xalan\serializer\2.7.1\serializer-2.7.1.jar;C:\Users\Baek.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\Baek.m2\repository\com\ibm\icu\icu4j\50.1.1\icu4j-50.1.1.jar;C:\Users\Baek.m2\repository\com\vaadin\vaadin-client-compiler-deps\1.2.0\vaadin-client-compiler-deps-1.2.0.jar;C:\Users\Baek.m2\repository\com\vaadin\addon\vaadin-charts\2.0.0\vaadin-charts-2.0.0.jar;C:\Users\Baek.m2\repository\com\google\code\gson\gson\2.2\gson-2.2.jar;C:\Users\Baek.m2\repository\org\vaadin\addons\googleanalyticstracker\2.1.0\googleanalyticstracker-2.1.0.jar;C:\Users\Baek.m2\repository\org\peimari\maddon\1.15\maddon-1.15.jar;C:\Users\Baek.m2\repository\org\vaadin\addon\confirmdialog\2.1.1\confirmdialog-2.1.1.jar;C:\Users\Baek.m2\repository\org\commonjava\googlecode\markdown4j\markdown4j\2.2-cj-1.0\markdown4j-2.2-cj-1.0.jar;C:\Users\Baek.m2\repository\org\slf4j\slf4j-jdk14\1.6.4\slf4j-jdk14-1.6.4.jar;C:\Users\Baek.m2\repository\org\slf4j\slf4j-api\1.6.4\slf4j-api-1.6.4.jar;C:\Users\Baek.m2\repository\com\google\guava\guava\18.0\guava-18.0.jar;C:\Users\Baek.m2\repository\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war C:\Users\Baek\workspace\quicktickets-dashboard\src\main\webapp\VAADIN\widgetsets -localWorkers 8 -XfragmentCount -1 -extra C:\Users\Baek\workspace\quicktickets-dashboard\target\extra -compileReport -gen C:\Users\Baek\workspace\quicktickets-dashboard\target.generated com.vaadin.demo.dashboard.DashboardWidgetSet
[ERROR]
]] failed with status 1
[ERROR]
→ [Help 1]

[ERROR]

[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]

[ERROR]
For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExcepti

please answer about my question

Thank you.
27112.xml (930 Bytes)
27113.xml (8.06 KB)

Hi,

I believe this
StackOverflow question’s response
applies, even though it’s superficially slightly different: you need to manually create the Registry key it’s complaining about. I’ve had the same problem myself earlier and I seem to recall that that was all that that it took to fix it.

Hope this helps,
Olli

Nope, that’s not the issue. It is merely a warning and it will be
fixed in JDK 9
. The poster’s console output is in Chinese. In English the first couple of lines says something like:

Sep 11, 2016 11:13:47 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

In a Vaadin context (i.e. the GWT compiler) this warning can be safely ignored. You do
not
need to create any registry keys, unless you really don’t want to look at the warning.

The posters
real problem
is this:

Compiling module com.vaadin.demo.dashboard.DashboardWidgetSet
Unexpected internal compiler error
java.lang.NoSuchFieldError: warningThreshold
(stacktrace here)

for which I do not know the answer.

Nicely spotted. No idea what’s going on in there; maybe some custom gwt version?

Hi,
take a look at this thread https://vaadin.com/forum#!/thread/11285912/11296068

Mike Cooper solved a similar problem removing a transitive dependency to “eclipse:jdtcore”

HTH
Marco