Skip to content

Missing runtime hints for stg resources in JLineRuntimeHints when using native compilation #1358

@wimdeblauwe

Description

@wimdeblauwe

I recently upgraded ttcli to Spring Boot 4 and Spring Shell 4.0.2. This worked fine locally on the JVM, but seems to fail after release which used GraalVM native compilation.

I get this error:

❌ Error during project generation: java.io.FileNotFoundException: class path resource [org/springframework/shell/component/string-input-default.stg] cannot be opened because it does not exist

The reason is most likely that JLineRuntimeHints does not have anything listed for the stg resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions