-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
kind/bugSomething isn't workingSomething isn't workingtriage/out-of-dateThis issue/PR is no longer valid or relevantThis issue/PR is no longer valid or relevant
Description
Describe the bug
I have designed a POC to ensure that CDI, JPA, Flyway and Kafka integration defined in an external jar are working well.
Excepted Flyway all other libraries are working.
Expected behavior
The appliation should compile and produce a jar file.
Actual behavior
The application fails to compile.
This error arise when compiling it:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.355 s <<< FAILURE! - in com.damdamdeo.helloworld.HelloWorldServiceAppTest
[ERROR] should_say_hello Time elapsed: 0.011 s <<< ERROR!
org.junit.jupiter.api.extension.TestInstantiationException:
TestInstanceFactory [io.quarkus.test.junit.QuarkusTestExtension] failed to instantiate test class [com.damdamdeo.helloworld.HelloWorldServiceAppTest]: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.flyway.FlywayProcessor#build threw an exception: java.nio.file.FileSystemNotFoundException
Caused by: java.lang.RuntimeException:
io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.flyway.FlywayProcessor#build threw an exception: java.nio.file.FileSystemNotFoundException
Caused by: io.quarkus.builder.BuildException:
Build failure: Build failed due to errors
[error]: Build step io.quarkus.flyway.FlywayProcessor#build threw an exception: java.nio.file.FileSystemNotFoundException
Caused by: java.nio.file.FileSystemNotFoundException
To Reproduce
Steps to reproduce the behavior:
- git clone https://github.com/dcdh/poc-quarkus-external-jar.git
- cd helloworld-service
- mvn clean install
- cd ../helloworld-app
- mvn clean install
Configuration
# Add your application.properties here, if applicable.
Environment (please complete the following information):
- Output of
uname -a
orver
: Linux arch-anywhere 5.1.6-arch1-1-ARCH Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP PREEMPT Fri May 31 15:17:53 UTC 2019 x86_64 GNU/Linux - Output of
java -version
: openjdk version "1.8.0_222" - GraalVM version (if different from Java): n.a.
- Quarkus version or git rev: 0.21.1
Additional context
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't workingtriage/out-of-dateThis issue/PR is no longer valid or relevantThis issue/PR is no longer valid or relevant