关于spring-boot-configuration-processor

    xiaoxiao2023-11-26  155

    spring-boot-configuration-processor即注释处理器

    在pom.xml中引进

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

    然后我们会发现,当你在application.yml或者application.properties中输入时,会有相应的提示,方便我们写配置文件

    最新回复(0)