You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Classes that should be initialized at run time got initialized during image building:
jakarta.json.JsonArray was unintentionally initialized at build time. To see why jakarta.json.JsonArray got initialized use --trace-class-initialization=jakarta.json.JsonArray
org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$2 was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$2 got initialized use --trace-class-initialization=org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$2
org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$1 was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$1 got initialized use --trace-class-initialization=org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$1
org.eclipse.parsson.JsonTokenizer$JsonToken was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonTokenizer$JsonToken got initialized use --trace-class-initialization=org.eclipse.parsson.JsonTokenizer$JsonToken
jakarta.json.JsonValueImpl was unintentionally initialized at build time. To see why jakarta.json.JsonValueImpl got initialized use --trace-class-initialization=jakarta.json.JsonValueImpl
org.eclipse.parsson.JsonParserImpl$4 was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonParserImpl$4 got initialized use --trace-class-initialization=org.eclipse.parsson.JsonParserImpl$4
org.eclipse.parsson.JsonObjectBuilderImpl$JsonObjectImpl was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonObjectBuilderImpl$JsonObjectImpl got initialized use --trace-class-initialization=org.eclipse.parsson.JsonObjectBuilderImpl$JsonObjectImpl
org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$3 was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$3 got initialized use --trace-class-initialization=org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$3
org.eclipse.parsson.JsonProviderImpl was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonProviderImpl got initialized use --trace-class-initialization=org.eclipse.parsson.JsonProviderImpl
org.eclipse.parsson.JsonArrayBuilderImpl$JsonArrayImpl was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonArrayBuilderImpl$JsonArrayImpl got initialized use --trace-class-initialization=org.eclipse.parsson.JsonArrayBuilderImpl$JsonArrayImpl
jakarta.json.JsonValue was unintentionally initialized at build time. To see why jakarta.json.JsonValue got initialized use --trace-class-initialization=jakarta.json.JsonValue
org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy got initialized use --trace-class-initialization=org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy
jakarta.json.EmptyObject was unintentionally initialized at build time. To see why jakarta.json.EmptyObject got initialized use --trace-class-initialization=jakarta.json.EmptyObject
jakarta.json.JsonStructure was unintentionally initialized at build time. To see why jakarta.json.JsonStructure got initialized use --trace-class-initialization=jakarta.json.JsonStructure
jakarta.json.spi.JsonProvider was unintentionally initialized at build time. To see why jakarta.json.spi.JsonProvider got initialized use --trace-class-initialization=jakarta.json.spi.JsonProvider
org.eclipse.parsson.UnicodeDetectingInputStream was unintentionally initialized at build time. To see why org.eclipse.parsson.UnicodeDetectingInputStream got initialized use --trace-class-initialization=org.eclipse.parsson.UnicodeDetectingInputStream
jakarta.json.EmptyArray was unintentionally initialized at build time. To see why jakarta.json.EmptyArray got initialized use --trace-class-initialization=jakarta.json.EmptyArray
org.eclipse.parsson.JsonContext was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonContext got initialized use --trace-class-initialization=org.eclipse.parsson.JsonContext
org.eclipse.parsson.JsonStringImpl was unintentionally initialized at build time. To see why org.eclipse.parsson.JsonStringImpl got initialized use --trace-class-initialization=org.eclipse.parsson.JsonStringImpl
To see how the classes got initialized, use --trace-class-initialization=jakarta.json.JsonArray,org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$2,org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$1,org.eclipse.parsson.JsonTokenizer$JsonToken,jakarta.json.JsonValueImpl,org.eclipse.parsson.JsonParserImpl$4,org.eclipse.parsson.JsonObjectBuilderImpl$JsonObjectImpl,org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy$3,org.eclipse.parsson.JsonProviderImpl,org.eclipse.parsson.JsonArrayBuilderImpl$JsonArrayImpl,jakarta.json.JsonValue,org.eclipse.parsson.JsonObjectBuilderImpl$DuplicateStrategy,jakarta.json.EmptyObject,jakarta.json.JsonStructure,jakarta.json.spi.JsonProvider,org.eclipse.parsson.UnicodeDetectingInputStream,jakarta.json.EmptyArray,org.eclipse.parsson.JsonContext,org.eclipse.parsson.JsonStringImpl
Environment Details
Problem Description
It seems that unless I add
To my pom file, I cannot compile a native image using the autoconfigured plugins from the below parent.
Full error:
Steps to reproduce
docker build -f Dockerfile.native -t hello .
The text was updated successfully, but these errors were encountered: