gluonhq / gluon-samples

Gluon sample projects
298 stars 166 forks source link

Error then build HelloWeb #140

Closed Anivie closed 1 year ago

Anivie commented 2 years ago

Using: GraalVM22 jdk17 win10 amd64

gluonfx.plugin.version:1.0.12

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ at java.base/java.util.regex.Pattern.error(Pattern.java:2028) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE at java.base/java.util.regex.Pattern.compile(Pattern.java:1789) at java.base/java.util.regex.Pattern.<init>(Pattern.java:1430) [INFO] ------------------------------------------------------------------------ at java.base/java.util.regex.Pattern.compile(Pattern.java:1069) at java.base/java.lang.String.replaceAll(String.java:2939) at com.gluonhq.substrate.target.WebTargetConfiguration$1Work.setArtifact(WebTargetConfiguration.java:239) [INFO] Total time: 2.963 s [INFO] Finished at: 2022-02-05T09:55:50+08:00 [INFO] ------------------------------------------------------------------------ at com.gluonhq.substrate.target.WebTargetConfiguration$1Work.file(WebTargetConfiguration.java:219) [ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.12:compile (default-cli) on project helloweb: Error: Unexpected internal error near index 1 [ERROR] \ [ERROR] -> [Help 1] [ERROR] at com.gluonhq.substrate.target.WebTargetConfiguration$1Work.file(WebTargetConfiguration.java:150) at com.gluonhq.substrate.util.web.AheadOfTimeBase.buildClassLoader(AheadOfTimeBase.java:197) at com.gluonhq.substrate.util.web.AheadOfTimeBase.work(AheadOfTimeBase.java:68) at com.gluonhq.substrate.target.WebTargetConfiguration.compile(WebTargetConfiguration.java:295) at com.gluonhq.substrate.SubstrateDispatcher.nativeCompile(SubstrateDispatcher.java:425) [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 at com.gluonhq.NativeCompileMojo.execute(NativeCompileMojo.java:54) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293) at org.apache.maven.cli.MavenCli.main(MavenCli.java:196) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.254 s [INFO] Finished at: 2022-02-05T09:55:50+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.12:build (default-cli) on project helloweb: Error, gluonfx:build failed -> [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