-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Micrometer dependencies throwing an exception when running in a native app using Hikari/Hibernate #4155
Micrometer dependencies throwing an exception when running in a native app using Hikari/Hibernate #4155
Comments
I was working on adding native-image support to jhipster-micronaut and had the same issue. Compilation fails when micrometer is enabled, but another problem you might face later is, some hikari jdbc drivers dont compile correctly with native-image. Eg. hikari with postgres compiles, but doesn't run when invoked
Can you confirm you had this or similar issue with hikari and micronaut? |
Hi @agilob In my app, I am using |
PR submitted to the module micronaut-projects/micronaut-micrometer#158 |
Hi @graemerocher @ilopmar ! With the new version I am using the same app, The changes I did, in
Am I missing something? Thanks! |
Hi, it's just to let you know that the problem described above seems to be fixed when I updated my application to Micronaut version |
Hi, I am getting an exception when running my native application with metrics.
The application is this one: https://github.com/ivangfr/graalvm-quarkus-micronaut-springboot/tree/master/book-api/micronaut-book-api
If those two lines in
build.gradle
are commented, everything works fineHowever, when I uncomment it, build the native docker image of the app and run it, I am getting the following exception during the startup
Task List
Steps to Reproduce
Expected Behaviour
No exception should be thrown
Actual Behaviour
It's throwing an exception as described above
Environment Information
Example Application
https://github.com/ivangfr/graalvm-quarkus-micronaut-springboot/tree/master/book-api/micronaut-book-api
The text was updated successfully, but these errors were encountered: