Skip to content
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 image and azure object storage #515

Open
n0tl3ss opened this issue Aug 14, 2024 · 0 comments
Open

Native image and azure object storage #515

n0tl3ss opened this issue Aug 14, 2024 · 0 comments

Comments

@n0tl3ss
Copy link
Member

n0tl3ss commented Aug 14, 2024

Expected Behavior

Native image to compile.

Actual Behaviour

Task ./gradlew nativeCompile fails to compile.

Adding

Args = --initialize-at-build-time=com.azure.core.util.logging.ClientLogger,ch.qos.logback.classic.model.processor.LogbackClassicDefaultNestedComponentRules,ch.qos.logback.core.model.processor.ChainedModelFilter$1,ch.qos.logback.core.model.processor.DefaultProcessor$1,ch.qos.logback.core.subst.Parser$1,ch.qos.logback.core.subst.NodeToStringTransformer$1,ch.qos.logback.core.util.Duration,ch.qos.logback.core.util.StatusPrinter2,ch.qos.logback.core.model.processor.ImplicitModelHandler$1,ch.qos.logback.core.subst.Token

to META-INF/native-image/native-image.properties makes app to successfully compile but i doubt thats a right fix.

Steps To Reproduce

  1. Download a demo app from micronaut-starter (https://launch.micronaut.io/) with selected object-storage-azure feature
  2. Run the ./gradlew nativeCompile

Environment Information

No response

Example Application

No response

Version

4.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant