You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
io.smallrye.stork:stork-service-discovery-kubernetes requires io.quarkus:quarkus-openshift-client or io.quarkus:quarkus-kubernetes-client in order to build a native image otherwise you will get the following native build error:
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 41 more
Another workaround is just to add the missing dependencies in your path
Maybe a simple note on Stork-quarkus would be enough
How to Reproduce?
Just create a Quarkus application with io.smallrye.stork:stork-service-discovery-kubernetes and build a native image of your application -> mvn clean package -Pnative
Output of uname -a or ver
Linux localhost.localdomain 5.18.7-100.fc35.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 25 20:05:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk 11.0.14 2022-01-18 OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9) OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
999-SNAPSHOT
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
Related to:
stork-service-discovery-kubernetes
extension requires some extra configutation that is not documented #24444 (comment)io.smallrye.stork:stork-service-discovery-kubernetes
requiresio.quarkus:quarkus-openshift-client
orio.quarkus:quarkus-kubernetes-client
in order to build a native image otherwise you will get the following native build error:Another workaround is just to add the missing dependencies in your path
I am missing all of these details on
io.smallrye.stork:stork-service-discovery-kubernetes
Doc Ref:
Maybe a simple note on Stork-quarkus would be enough
How to Reproduce?
Just create a Quarkus application with
io.smallrye.stork:stork-service-discovery-kubernetes
and build a native image of your application ->mvn clean package -Pnative
Output of
uname -a
orver
Linux localhost.localdomain 5.18.7-100.fc35.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 25 20:05:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 11.0.14 2022-01-18 OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9) OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
999-SNAPSHOT
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Additional information
No response
The text was updated successfully, but these errors were encountered: