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
Compilation of Vaadin themes with Maven
I am trying to compile the style theme of my projects but I always get this error:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building testert 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- vaadin-maven-plugin:7.7.6:update-theme (default-cli) @ testert ---
[INFO] Updating theme VAADIN\themes\mytheme
[ERROR] Updating theme "VAADIN\themes\mytheme" failed
org.codehaus.mojo.gwt.shell.JavaCommandException: Command [[
C:\Program Files\Java\jre1.8.0_121\bin\java -Xmx512m -classpath D:\developer\workspace\testert\src\main\webapp;D:\developer\workspace\testert\target\classes;D:\developer\workspace\testert\src\main\java;C:\Users\leonc\.m2\repository\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-server\7.7.6\vaadin-server-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-sass-compiler\0.9.13\vaadin-sass-compiler-0.9.13.jar;C:\Users\leonc\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\flute\flute\1.3.0.gg2\flute-1.3.0.gg2.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-shared\7.7.6\vaadin-shared-7.7.6.jar;C:\Users\leonc\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-push\7.7.6\vaadin-push-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\atmosphere\atmosphere-runtime\2.2.9.vaadin2\atmosphere-runtime-2.2.9.vaadin2.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\slf4j\vaadin-slf4j-jdk14\1.6.1\vaadin-slf4j-jdk14-1.6.1.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-client-compiled\7.7.6\vaadin-client-compiled-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-themes\7.7.6\vaadin-themes-7.7.6.jar com.vaadin.server.themeutils.SASSAddonImportFileCreator D:\developer\workspace\testert\src\main\webapp\VAADIN\themes\mytheme
]] failed with status -1073740791
at org.codehaus.mojo.gwt.shell.JavaCommand.execute(JavaCommand.java:327)
at com.vaadin.integration.maven.UpdateThemeMojo.processTheme(UpdateThemeMojo.java:45)
at com.vaadin.integration.maven.AbstractThemeMojo.doExecute(AbstractThemeMojo.java:43)
at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:182)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.973 s
[INFO] Finished at: 2017-01-30T15:39:35-05:00
[INFO] Final Memory: 13M/168M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:7.7.6:update-theme (default-cli) on project testert: Updating theme "VAADIN\themes\mytheme" failed: Command [[
[ERROR] C:\Program Files\Java\jre1.8.0_121\bin\java -Xmx512m -classpath D:\developer\workspace\testert\src\main\webapp;D:\developer\workspace\testert\target\classes;D:\developer\workspace\testert\src\main\java;C:\Users\leonc\.m2\repository\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-server\7.7.6\vaadin-server-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-sass-compiler\0.9.13\vaadin-sass-compiler-0.9.13.jar;C:\Users\leonc\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\flute\flute\1.3.0.gg2\flute-1.3.0.gg2.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-shared\7.7.6\vaadin-shared-7.7.6.jar;C:\Users\leonc\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-push\7.7.6\vaadin-push-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\atmosphere\atmosphere-runtime\2.2.9.vaadin2\atmosphere-runtime-2.2.9.vaadin2.jar;C:\Users\leonc\.m2\repository\com\vaadin\external\slf4j\vaadin-slf4j-jdk14\1.6.1\vaadin-slf4j-jdk14-1.6.1.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-client-compiled\7.7.6\vaadin-client-compiled-7.7.6.jar;C:\Users\leonc\.m2\repository\com\vaadin\vaadin-themes\7.7.6\vaadin-themes-7.7.6.jar com.vaadin.server.themeutils.SASSAddonImportFileCreator D:\developer\workspace\testert\src\main\webapp\VAADIN\themes\mytheme
[ERROR] ]] failed with status -1073740791
[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/MojoExecutionException
This happens to me with all projects that are new and old.
Someone knows why it does not work and if someone has a solution please tell me.
Last updated on
Is there any other error in the console before this? Did you try to run with -e switch to see full stacktrace.
Last updated on
You cannot reply to this thread.