You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "JiriOndrusek (via GitHub)" <gi...@apache.org> on 2024/01/02 12:44:41 UTC
[I] Azure, MongoDB native compilation fails if both extensions are present. [camel-quarkus]
JiriOndrusek opened a new issue, #5623:
URL: https://github.com/apache/camel-quarkus/issues/5623
### Bug description
Native failure:
```
Caused by: java.lang.ClassNotFoundException: jnr.unixsocket.UnixSocket
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 13 more
```
Issue is caused by the azure native configuration, see https://github.com/Azure/azure-sdk-for-java/issues/38186
**Reproducer**: https://github.com/JiriOndrusek/azure-mongodb-native-failure-reproducer
Execute ./mvnw package -Dnative to simulate the error.
(Project is created automatically by https://code.quarkus.io/?e=mongodb-client&e=org.apache.camel.quarkus%3Acamel-quarkus-azure-storage-queue without any change)
**Workaround** is to add dependency `com.github:jnr-unixsocket`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org