Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
Cann`t run vaadin project on latest Netbeans8.01, Java8, Glassfish4.1
Hi
I have been facing difficulty in running my mini project that i am experimenting to learn Vaadin. Even if I create a brand new project to run "Click me", it's not working. I am getting the following errors in the brand new project that I have created using vaading plugin in netbeans.
cd C:\inteaccTest\VaadinTest6; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_20" cmd /c "\"\"C:\\Program Files\\NetBeans 8.0.1\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=C:\\Users\\HP\\AppData\\Roaming\\NetBeans\\8.0.1\\maven-nblib\\netbeans-eventspy.jar install\""
Scanning for projects...
------------------------------------------------------------------------
Building VaadinTest6 1.0-SNAPSHOT
------------------------------------------------------------------------
--- maven-resources-plugin:2.6:resources (default-resources) @ VaadinTest6 ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
--- maven-compiler-plugin:3.0:compile (default-compile) @ VaadinTest6 ---
Changes detected - recompiling the module!
Compiling 1 source file to C:\inteaccTest\VaadinTest6\target\classes
--- vaadin-maven-plugin:7.5.3:update-widgetset (default) @ VaadinTest6 ---
auto discovered modules [com.inteacc.backend.vaadintest6.MyAppWidgetset]
Updating widgetset com.inteacc.backend.vaadintest6.MyAppWidgetset
Adding resource directory to command classpath: C:\inteaccTest\VaadinTest6\src\main\resources
Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
Using com.vaadin:vaadin-client-compiler version 7.5.3
Widgetsets found from classpath:
com.inteacc.backend.vaadintest6.MyAppWidgetset in file://C/inteaccTest/VaadinTest6/src/main/resources
com.vaadin.DefaultWidgetSet in jar:file:C:/Users/HP/.m2/repository/com/vaadin/vaadin-client/7.5.3/vaadin-client-7.5.3.jar!/
Addon styles found from classpath:
Search took 21ms
--- maven-resources-plugin:2.6:testResources (default-testResources) @ VaadinTest6 ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\inteaccTest\VaadinTest6\src\test\resources
--- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ VaadinTest6 ---
No sources to compile
--- maven-surefire-plugin:2.10:test (default-test) @ VaadinTest6 ---
No tests to run.
Surefire report directory: C:\inteaccTest\VaadinTest6\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>> vaadin-maven-plugin:7.5.3:compile (default) @ VaadinTest6 >>>
--- maven-resources-plugin:2.6:resources (default-resources) @ VaadinTest6 ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
<<< vaadin-maven-plugin:7.5.3:compile (default) @ VaadinTest6 <<<
--- vaadin-maven-plugin:7.5.3:compile (default) @ VaadinTest6 ---
auto discovered modules [com.inteacc.backend.vaadintest6.MyAppWidgetset]
Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
Using com.vaadin:vaadin-client-compiler version 7.5.3
Error: Could not find or load main class com.google.gwt.dev.Compiler
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 11.570s
Finished at: Sun Aug 16 13:13:15 EDT 2015
Final Memory: 24M/383M
------------------------------------------------------------------------
Failed to execute goal com.vaadin:vaadin-maven-plugin:7.5.3:compile (default) on project VaadinTest6: Command [[
C:\Program Files\Java\jdk1.8.0_20\jre\bin\java -Xmx512M -Xss1024k -classpath C:\inteaccTest\VaadinTest6\target\classes;C:\inteaccTest\VaadinTest6\src\main\java;C:\inteaccTest\VaadinTest6\src\main\resources;C:\Users\HP\.m2\repository\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-server\7.5.3\vaadin-server-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-sass-compiler\0.9.12\vaadin-sass-compiler-0.9.12.jar;C:\Users\HP\.m2\repository\com\vaadin\external\flute\flute\1.3.0.gg2\flute-1.3.0.gg2.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-shared\7.5.3\vaadin-shared-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\external\streamhtmlparser\streamhtmlparser-jsilver\0.0.10.vaadin1\streamhtmlparser-jsilver-0.0.10.vaadin1.jar;C:\Users\HP\.m2\repository\com\vaadin\external\google\guava\16.0.1.vaadin1\guava-16.0.1.vaadin1.jar;C:\Users\HP\.m2\repository\org\jsoup\jsoup\1.8.1\jsoup-1.8.1.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-push\7.5.3\vaadin-push-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\external\atmosphere\atmosphere-runtime\2.2.7.vaadin1\atmosphere-runtime-2.2.7.vaadin1.jar;C:\Users\HP\.m2\repository\com\vaadin\external\slf4j\vaadin-slf4j-jdk14\1.6.1\vaadin-slf4j-jdk14-1.6.1.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-client\7.5.3\vaadin-client-7.5.3.jar;C:\Users\HP\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\HP\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\HP\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-themes\7.5.3\vaadin-themes-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-client\7.5.3\vaadin-client-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-client-compiler\7.5.3\vaadin-client-compiler-7.5.3.jar;C:\Users\HP\.m2\repository\net\sourceforge\nekohtml\nekohtml\1.9.19\nekohtml-1.9.19.jar;C:\Users\HP\.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\HP\.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-sass-compiler\0.9.12\vaadin-sass-compiler-0.9.12.jar;C:\Users\HP\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\HP\.m2\repository\com\vaadin\external\flute\flute\1.3.0.gg2\flute-1.3.0.gg2.jar;C:\Users\HP\.m2\repository\org\ow2\asm\asm\5.0.3\asm-5.0.3.jar;C:\Users\HP\.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\HP\.m2\repository\xalan\serializer\2.7.1\serializer-2.7.1.jar;C:\Users\HP\.m2\repository\org\apache\httpcomponents\httpcore\4.3\httpcore-4.3.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-util\8.1.12.v20130726\jetty-util-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\apache\httpcomponents\httpclient\4.3.1\httpclient-4.3.1.jar;C:\Users\HP\.m2\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\HP\.m2\repository\commons-codec\commons-codec\1.8\commons-codec-1.8.jar;C:\Users\HP\.m2\repository\org\jdesktop\swing-worker\1.1\swing-worker-1.1.jar;C:\Users\HP\.m2\repository\net\sourceforge\cssparser\cssparser\0.9.11\cssparser-0.9.11.jar;C:\Users\HP\.m2\repository\org\apache\httpcomponents\httpmime\4.3.1\httpmime-4.3.1.jar;C:\Users\HP\.m2\repository\org\ow2\asm\asm-util\5.0.3\asm-util-5.0.3.jar;C:\Users\HP\.m2\repository\org\ow2\asm\asm-tree\5.0.3\asm-tree-5.0.3.jar;C:\Users\HP\.m2\repository\org\ow2\asm\asm-commons\5.0.3\asm-commons-5.0.3.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-server\7.5.3\vaadin-server-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-shared\7.5.3\vaadin-shared-7.5.3.jar;C:\Users\HP\.m2\repository\com\vaadin\external\streamhtmlparser\streamhtmlparser-jsilver\0.0.10.vaadin1\streamhtmlparser-jsilver-0.0.10.vaadin1.jar;C:\Users\HP\.m2\repository\com\vaadin\external\google\guava\16.0.1.vaadin1\guava-16.0.1.vaadin1.jar;C:\Users\HP\.m2\repository\org\jsoup\jsoup\1.8.1\jsoup-1.8.1.jar;C:\Users\HP\.m2\repository\com\ibm\icu\icu4j\50.1.1\icu4j-50.1.1.jar;C:\Users\HP\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-client-compiler-deps\1.2.0\vaadin-client-compiler-deps-1.2.0.jar;C:\Users\HP\.m2\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-servlets\8.1.12.v20130726\jetty-servlets-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-continuation\8.1.12.v20130726\jetty-continuation-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-client\8.1.12.v20130726\jetty-client-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-http\8.1.12.v20130726\jetty-http-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-io\8.1.12.v20130726\jetty-io-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\com\vaadin\vaadin-client\7.5.3\vaadin-client-7.5.3.jar;C:\Users\HP\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\HP\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\HP\.m2\repository\org\apache\james\apache-mime4j\0.6\apache-mime4j-0.6.jar;C:\Users\HP\.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-annotations\8.1.12.v20130726\jetty-annotations-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-plus\8.1.12.v20130726\jetty-plus-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\javax.transaction\1.1.1.v201105210645\javax.transaction-1.1.1.v201105210645.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-webapp\8.1.12.v20130726\jetty-webapp-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-xml\8.1.12.v20130726\jetty-xml-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-servlet\8.1.12.v20130726\jetty-servlet-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-security\8.1.12.v20130726\jetty-security-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-server\8.1.12.v20130726\jetty-server-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\javax.servlet\3.0.0.v201112011016\javax.servlet-3.0.0.v201112011016.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\jetty-jndi\8.1.12.v20130726\jetty-jndi-8.1.12.v20130726.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\javax.mail.glassfish\1.4.1.v201005082020\javax.mail.glassfish-1.4.1.v201005082020.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\javax.activation\1.1.0.v201105071233\javax.activation-1.1.0.v201105071233.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\javax.annotation\1.1.0.v201108011116\javax.annotation-1.1.0.v201108011116.jar;C:\Users\HP\.m2\repository\org\eclipse\jetty\orbit\org.objectweb.asm\3.1.0.v200803061910\org.objectweb.asm-3.1.0.v200803061910.jar;C:\Users\HP\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war C:\inteaccTest\VaadinTest6\target\classes\VAADIN\widgetsets -localWorkers 4 -strict -XfragmentCount -1 -gen C:\inteaccTest\VaadinTest6\target\.generated com.inteacc.backend.vaadintest6.MyAppWidgetset
]] failed with status 1
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Last updated on
How did you resolve this error as im having it for days now and cant seem to get my head around it?
Last updated on
+1
I have a very same problem and can't fix it. Stupid maven.
Last updated on
Has anybody solved the error? I have exactly the same problem.
Last updated on
You cannot reply to this thread.