Advertisement
aironman

quarkus

Jan 13th, 2020
180
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~/g/q/quarkus-echo> mvn install -Pnative
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------< ujr.combat.quarkus:quarkus-echo >-------------------
  5. [INFO] Building quarkus-echo 1.0-SNAPSHOT
  6. [INFO] --------------------------------[ jar ]---------------------------------
  7. [INFO]
  8. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ quarkus-echo ---
  9. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  10. [INFO] Copying 2 resources
  11. [INFO]
  12. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ quarkus-echo ---
  13. [INFO] Nothing to compile - all classes are up to date
  14. [INFO]
  15. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ quarkus-echo ---
  16. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  17. [INFO] skip non existing resourceDirectory /Users/aironman/gitProjects/quarkus-test/quarkus-echo/src/test/resources
  18. [INFO]
  19. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ quarkus-echo ---
  20. [INFO] Nothing to compile - all classes are up to date
  21. [INFO]
  22. [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ quarkus-echo ---
  23. [INFO]
  24. [INFO] -------------------------------------------------------
  25. [INFO] T E S T S
  26. [INFO] -------------------------------------------------------
  27. [INFO] Running ujr.combat.quarkus.EchoResourceTest
  28. 2020-01-13 13:49:13,575 INFO [io.quarkus] (main) Quarkus 1.1.1.Final started in 0.368s. Listening on: http://0.0.0.0:8081
  29. 2020-01-13 13:49:13,590 INFO [io.quarkus] (main) Profile test activated.
  30. 2020-01-13 13:49:13,590 INFO [io.quarkus] (main) Installed features: [cdi, resteasy, resteasy-jsonb]
  31. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.007 s - in ujr.combat.quarkus.EchoResourceTest
  32. 2020-01-13 13:49:14,375 INFO [io.quarkus] (main) Quarkus stopped in 0.032s
  33. [INFO]
  34. [INFO] Results:
  35. [INFO]
  36. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
  37. [INFO]
  38. [INFO]
  39. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ quarkus-echo ---
  40. [INFO]
  41. [INFO] --- quarkus-maven-plugin:1.1.1.Final:build (default) @ quarkus-echo ---
  42. [INFO] [org.jboss.threads] JBoss Threads version 3.0.0.Final
  43. [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /Users/aironman/gitProjects/quarkus-test/quarkus-echo/target/quarkus-echo-1.0-SNAPSHOT-native-image-source-jar/quarkus-echo-1.0-SNAPSHOT-runner.jar
  44. [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /Users/aironman/gitProjects/quarkus-test/quarkus-echo/target/quarkus-echo-1.0-SNAPSHOT-native-image-source-jar/quarkus-echo-1.0-SNAPSHOT-runner.jar
  45. [INFO] ------------------------------------------------------------------------
  46. [INFO] BUILD FAILURE
  47. [INFO] ------------------------------------------------------------------------
  48. [INFO] Total time: 6.258 s
  49. [INFO] Finished at: 2020-01-13T13:49:16+01:00
  50. [INFO] ------------------------------------------------------------------------
  51. [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.1.1.Final:build (default) on project quarkus-echo: Failed to build a runnable JAR: Failed to augment application classes: Build failure: Build failed due to errors
  52. [ERROR] [error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.RuntimeException: Cannot find the `native-image` in the GRAALVM_HOME, JAVA_HOME and System PATH. Install it using `gu install native-image`
  53. [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.getNativeImageExecutable(NativeImageBuildStep.java:376)
  54. [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:134)
  55. [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  56. [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  57. [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  58. [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:567)
  59. [ERROR] at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:915)
  60. [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:415)
  61. [ERROR] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
  62. [ERROR] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2011)
  63. [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1535)
  64. [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
  65. [ERROR] at java.base/java.lang.Thread.run(Thread.java:830)
  66. [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:479)
  67. [ERROR] -> [Help 1]
  68. [ERROR]
  69. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  70. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  71. [ERROR]
  72. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  73. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement