[BUG] Problem with compiling Spring Boot KeyVault starters into a native executable #43563
Open
3 tasks done
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When I tried to compile a simple application into a native executable, I received the following exception:
Then, I tried to manually register the
AzureGlobalProperties
bean. After that, I encountered another exception:Next, I configure the build as described here, and the application was successfully compiled. However, when I started the application, I received the following exception at runtime:
Exception or Stack Trace
SecurityException1
SecurityException 2
Exception at runtime
To Reproduce
https://github.com/piotrooo/azure-key-vault-native
Code Snippet
https://github.com/piotrooo/azure-key-vault-native
Expected behavior
The program will be compiled into a native executable.
Screenshots
N/A
Setup (please complete the following information):
If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError
,NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose
)Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: