Cannot load configuration class error spring boot

We Are Going To Discuss About Cannot load configuration class error spring boot. So lets Start this Java Article.

Cannot load configuration class error spring boot

  1. Cannot load configuration class error spring boot

    Either you used an old version of the dependency or application.properties file path wrongly you placed.

  2. Cannot load configuration class error spring boot

    Either you used an old version of the dependency or application.properties file path wrongly you placed.

Solution 1

I bet that this dependency

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

is the one that causes the error. Try to remove it and check again. You can read here more of what that dependency is able to do, and determine if you will invest time in fixing it or just removing it.

Original Author Panagiotis Bougioukos Of This Content

Solution 2

Either you used an old version of the dependency or application.properties file path wrongly you placed.

Original Author Sathiyaraj Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment