close

[Solved] Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse in java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse Error Occurs?

Today I get the following error Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse in java.

How To Solve Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse Error ?

  1. How To Solve Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse Error ?

    To Solve Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse Error Just run a mvn clean package and then restart the boot application from either eclipse/intelliJ

  2. Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse

    To Solve Failed Autowired of BuildProperties Spring Boot 2.1.5 & eclipse Error Just run a mvn clean package and then restart the boot application from either eclipse/intelliJ

Solution 1

Add/Modify at the end of pom.xml:

<build>
        <finalName>{NAME_YOUR_PROJECT}</finalName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>build-info</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

Solution 2

Just run a mvn clean package and then restart the boot application from either eclipse/intelliJ

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment