Skip to content

Native image and azure object storage #515

@n0tl3ss

Description

@n0tl3ss

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions