Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6484

Project build problem on Windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 1.17.0.Final
    • 1.15.0.Final
    • Core Engine
    • None
    • False
    • False
    • 2022 Week 05-07 (from Jan 31)

    Description

      It's seems to be the same problem that I had on earlier versions (KOGITO-5343). Build on Linux runs fine. But on windows I'm getting following error when clean install is invoked. It works fine during clean compile quarkus:dev launch.

      [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.6.0.Final:build (default) on project swing-process: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [ERROR] 	[error]: Build step io.quarkus.deployment.pkg.steps.JarResultBuildStep#buildRunnerJar threw an exception: java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /META-INF/jsonSchema
      [ERROR] 	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:896)
      [ERROR] 	at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
      [ERROR] 	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
      [ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
      [ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
      [ERROR] 	at java.base/java.lang.Thread.run(Thread.java:834)
      [ERROR] 	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
      [ERROR] Caused by: java.nio.file.NoSuchFileException: /META-INF/jsonSchema
      [ERROR] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.checkParents(ZipFileSystem.java:888)
      [ERROR] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newOutputStream(ZipFileSystem.java:575)
      [ERROR] 	at jdk.zipfs/jdk.nio.zipfs.ZipPath.newOutputStream(ZipPath.java:859)
      [ERROR] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newOutputStream(ZipFileSystemProvider.java:282)
      [ERROR] 	at java.base/java.nio.file.Files.newOutputStream(Files.java:220)
      [ERROR] 	at io.quarkus.deployment.pkg.steps.JarResultBuildStep.copyCommonContent(JarResultBuildStep.java:1271)
      [ERROR] 	at io.quarkus.deployment.pkg.steps.JarResultBuildStep.buildUberJar0(JarResultBuildStep.java:404)
      [ERROR] 	at io.quarkus.deployment.pkg.steps.JarResultBuildStep.buildUberJar(JarResultBuildStep.java:294)
      [ERROR] 	at io.quarkus.deployment.pkg.steps.JarResultBuildStep.buildRunnerJar(JarResultBuildStep.java:232)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:887)
      [ERROR] 	... 6 more
      [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
      
      
      

      Attachments

        Activity

          People

            wmedvede@redhat.com Walter Medvedeo
            jakubgrabowski Jakub Grabowski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: