Hi, guys. I just create a new maven project using vaddin-archetype-application v8.3.1 in Eclipse.
But it failed as I tried to compile it. It works fine in vaddin-archetype-application v8.0.0 project. Error log as follows.
[INFO]
--- vaadin-maven-plugin:8.3.1:update-theme (default) @ test1 ---
[INFO]
Updating theme VAADIN/themes/mytheme
[ERROR]
Error: Could not find or load main class com.vaadin.server.themeutils.SASSAddonImportFileCreator
[ERROR]
Updating theme "VAADIN/themes/mytheme" failed
org.codehaus.mojo.gwt.shell.JavaCommandException: Command [[
/bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java' '-Xmx1G' 'com.vaadin.server.themeutils.SASSAddonImportFileCreator' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme'
]] failed with status 1
at org.codehaus.mojo.gwt.shell.JavaCommand.execute(JavaCommand.java:330)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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: 1.026 s
[INFO]
Finished at: 2018-02-16T23:35:30+13:00
[INFO]
Final Memory: 16M/309M
[INFO]
------------------------------------------------------------------------
[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:8.3.1:update-theme (default) on project test1: Updating theme "VAADIN/themes/mytheme" failed: Command [[
[ERROR]
/bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java' '-Xmx1G' 'com.vaadin.server.themeutils.SASSAddonImportFileCreator' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme'
[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/MojoExecutionException
Just did a clean build. Different error happens :(. Any ideas?
[INFO]
------------------------------------------------------------------------
[INFO]
Building test1 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO]
--- vaadin-maven-plugin:8.3.1:update-theme (default-cli) @ test1 ---
[INFO]
Updating theme VAADIN/themes/mytheme
[ERROR]
Error parsing jar file
[ERROR]
java.util.zip.ZipException: invalid LOC header (bad signature)
[ERROR]
at java.util.zip.ZipFile.read(Native Method)
[ERROR]
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
[ERROR]
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
[ERROR]
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
[ERROR]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
[ERROR]
at sun.misc.IOUtils.readFully(IOUtils.java:65)
[ERROR]
at java.util.jar.JarFile.getBytes(JarFile.java:425)
[ERROR]
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
[ERROR]
at java.util.jar.JarFile.getManifest(JarFile.java:180)
[ERROR]
at sun.net.www.protocol.jar.URLJarFile.isSuperMan(URLJarFile.java:174)
[ERROR]
at sun.net.www.protocol.jar.URLJarFile.getManifest(URLJarFile.java:142)
[ERROR]
at com.vaadin.server.widgetsetutils.ClassPathExplorer.searchForWidgetSetsAndAddonStyles(ClassPathExplorer.java:255)
[ERROR]
at com.vaadin.server.widgetsetutils.ClassPathExplorer.getAvailableWidgetSetsAndStylesheets(ClassPathExplorer.java:143)
[ERROR]
at com.vaadin.server.themeutils.SASSAddonImportFileCreator.updateTheme(SASSAddonImportFileCreator.java:88)
[ERROR]
at com.vaadin.server.themeutils.SASSAddonImportFileCreator.main(SASSAddonImportFileCreator.java:63)
[ERROR]
Error parsing jar file
[ERROR]
java.util.zip.ZipException: invalid LOC header (bad signature)
[ERROR]
at java.util.zip.ZipFile.read(Native Method)
[ERROR]
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
[ERROR]
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
[ERROR]
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
[ERROR]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
[ERROR]
at sun.misc.IOUtils.readFully(IOUtils.java:65)
[ERROR]
at java.util.jar.JarFile.getBytes(JarFile.java:425)
[ERROR]
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
[ERROR]
at java.util.jar.JarFile.getManifest(JarFile.java:180)
[ERROR]
at sun.net.www.protocol.jar.URLJarFile.isSuperMan(URLJarFile.java:174)
[ERROR]
at sun.net.www.protocol.jar.URLJarFile.getManifest(URLJarFile.java:142)
[ERROR]
at com.vaadin.server.widgetsetutils.ClassPathExplorer.searchForWidgetSetsAndAddonStyles(ClassPathExplorer.java:255)
[ERROR]
at com.vaadin.server.widgetsetutils.ClassPathExplorer.getAvailableWidgetSetsAndStylesheets(ClassPathExplorer.java:143)
[ERROR]
at com.vaadin.server.themeutils.SASSAddonImportFileCreator.updateTheme(SASSAddonImportFileCreator.java:88)
[ERROR]
at com.vaadin.server.themeutils.SASSAddonImportFileCreator.main(SASSAddonImportFileCreator.java:63)
[INFO]
Widgetsets found from classpath:
[INFO]
Addon styles found from classpath:
[INFO]
[INFO]
Search took 7ms
[INFO]
Theme "VAADIN/themes/mytheme" updated
[INFO]
[INFO]
--- vaadin-maven-plugin:8.3.1:compile-theme (default-cli) @ test1 ---
[INFO]
Updating theme VAADIN/themes/mytheme
[ERROR]
Feb 16, 2018 11:57:26 PM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
[ERROR]
SEVERE: Import '../valo/valo.scss' in '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme/styles.scss' could not be found
[ERROR]
Feb 16, 2018 11:57:26 PM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
[ERROR]
SEVERE: Mixin Definition: valo not found
[ERROR]
Compiling theme "VAADIN/themes/mytheme" failed
org.codehaus.mojo.gwt.shell.JavaCommandException: Command [[
/bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java' '-Xmx1G' 'com.vaadin.sass.SassCompiler' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme/styles.scss' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme/styles.css'
]] failed with status 1
at org.codehaus.mojo.gwt.shell.JavaCommand.execute(JavaCommand.java:330)
at com.vaadin.integration.maven.CompileThemeMojo.processTheme(CompileThemeMojo.java:65)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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: 1.947 s
[INFO]
Finished at: 2018-02-16T23:57:26+13:00
[INFO]
Final Memory: 15M/309M
[INFO]
------------------------------------------------------------------------
[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:8.3.1:compile-theme (default-cli) on project test1: Compiling theme "VAADIN/themes/mytheme" failed: Command [[
[ERROR]
/bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java' '-Xmx1G' 'com.vaadin.sass.SassCompiler' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme/styles.scss' '/Users/tao/eclipse/workspace/test1/src/main/webapp/VAADIN/themes/mytheme/styles.css'
[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/MojoExecutionException