Skip to content

Spring STS 5.0.1 (Spring Tools for Eclipse) does not find Properties from dependencies (Spring AI) #1753

@hartenberger

Description

@hartenberger

Describe the bug
Autocomplete in application.properties or application.yml does is not work in Spring STS 5.0.1 for Spring AI SNAPSHOT or Spring AI 2.0.0 M1 Milestone.

Example Property:
spring.ai.openai.api-key=${OPENAI_API_KEY}
Properties are not visible and marked with "Warning"
Unknown property 'spring.ai' [YAML_UNKNOWN_PROPERTY]

To Reproduce
Setup Spring STS 5.0.1. Load any Projekt from spring-ai (For example projekt spring-ai-examples\agentic-patterns)
Load application.properties or application.yml File and try to add property with spring.ai
spring.ai is not found in STS 5.0.1

Sample
See Git Repro: https://github.com/spring-projects/spring-ai-examples.git

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