Skip to content

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

Closed

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.

Activity

  1. fmbenhassine commented on Jun 5, 2026

    @fmbenhassine
    Contributor

    Thank you for raising this. It's a valid issue.

    I will plan the fix for the upcoming 4.0.3 release.

    gh1358.zip

  2. added and removed
    status/need-triageTeam needs to triage and take a first look
    on Jun 5, 2026
  3. added this to the 4.0.3 milestone on Jun 5, 2026
  4. added a commit that references this issue on Jun 5, 2026
    e3fccf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions