Eclipse relies on spring boot configuration processor, and there is no prompt for writing properties and YML

Problem description:
In eclipse, the Spring-boot-Configuration-Processor dependency has been added to the SpringBoot project through the @configurationProperties (Prefix = “person”) annotation and the YML file for data binding but still does not raise the issue.

<!--Import the configuration file processor, and the configuration file will be prompted for binding.-->
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-configuration-processor</artifactId>
	<optional>true</optional>
</dependency>

Solution process:
Add the following dependencies

<properties>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	<java.version>1.8</java.version>
</properties>

Then update project
right click – “maven-” update project
Maven install
right click – “run as -” maven install

Read More: