-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native build failure (Mongo Client) after upgrade to Quarkus 3.0.2-Final #33250
Comments
Are you sure your dependency tree is consistent i.e. all the Quarkus dependencies are |
|
I'm no sure why but adding a maven dependency to file-vault seems to help:
|
Please provide a reproducer. We won't be able to understand what's going on otherwise. Thanks. |
Sure.I am away from my computer for a couple of weeks but will look at this again when I return.On 15 May 2023 14:14, Guillaume Smet ***@***.***> wrote:
Please provide a reproducer. We won't be able to understand what's going on otherwise. Thanks.
|
Sorry for the delay. |
I am going to close this as we don't have a reproducer. If you are at some point able to provide one, please attach it and we will take a look |
@freddieFishCake @gsmet @geoand I had also the problem described here. I solved it by adding this related dependency containing the given/missing class to the pom.xml of the module that comes with mongodb dependency: <dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-credentials</artifactId>
<scope>runtime</scope>
</dependency> It seems, that this dependency is missing in the dependency tree of mongodb quarkus somewhere since quarkus v3 (we upgraded from 2.16). |
Describe the bug
Native build fails with:
Expected behavior
The build should complete.
Actual behavior
The build fails.
How to Reproduce?
The build passes with previous versions of Quarkus, up to:
<quarkus.version>2.15.1.Final</quarkus.version>
and quarkus-mandrel up to:
<quarkus.native.builder-image>quay.io/quarkus/ubi-quarkus-mandrel:22.2-java17</quarkus.native.builder-image>
When building with Quarkus
Output of
uname -a
orver
Linux pjl-ThinkPad-P1-Gen-3 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.6+10-Ubuntu-0ubuntu122.04, mixed mode, sharing)
GraalVM version (if different from Java)
Version info: 'GraalVM 22.3.0.1-Final Java 17 Mandrel Distribution'
Quarkus version or git rev
3.0.2-Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Additional information
No response
The text was updated successfully, but these errors were encountered: