“Spring Boot Q&A”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
第1行: 第1行:
 
=== 在 IntelliJ IDEA 中点击 Spring Boot 项目 YAML|.yml|.properties 中的配置参数项无法跳转到 XXXProperties.java 配置类 ===
 
=== 在 IntelliJ IDEA 中点击 Spring Boot 项目 YAML|.yml|.properties 中的配置参数项无法跳转到 XXXProperties.java 配置类 ===
 +
https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html
 +
 +
 
pom.xml 中增加:<syntaxhighlight lang="xml">
 
pom.xml 中增加:<syntaxhighlight lang="xml">
 
         <dependency>
 
         <dependency>

2023年2月12日 (日) 05:35的版本

在 IntelliJ IDEA 中点击 Spring Boot 项目 YAML|.yml|.properties 中的配置参数项无法跳转到 XXXProperties.java 配置类

https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html


pom.xml 中增加:

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>