-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Labels
theme: codegenAn issue or change related to the picocli-codegen moduleAn issue or change related to the picocli-codegen module
Milestone
Description
When generating the reflection configuration by running the generateGraalReflectionConfig gradle task, the AnsiConsole class is picked up and included in the output.
{
"name" : "org.fusesource.jansi.AnsiConsole",
"allDeclaredConstructors" : true,
"allPublicConstructors" : true,
"allDeclaredMethods" : true,
"allPublicMethods" : true,
"fields" : [
{ "name" : "out" }
]
}
Giving this error when attempting to generate a nativeImage
error: Error parsing reflection configuration in blah/build/cli-reflect.json:
Class org.fusesource.jansi.AnsiConsole not found
Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option ReflectionConfigurationFiles.
Error: Image building with exit status 1
Manually removing the AnsiConsole block from the reflection configuration allows native image to build successfully.
Similar to issue #630
Metadata
Metadata
Assignees
Labels
theme: codegenAn issue or change related to the picocli-codegen moduleAn issue or change related to the picocli-codegen module