Skip to content
Advertisement

Spring Boot: Cannot load configuration class

I am currently creating my first Spring Boot application. Unfortunately, I get an error right at the beginning that I can’t understand.


POM
Only some rudimentary dependencies are defined here. Java 8 and Spring Boot 2.0.1 are to be used.

JavaScript

App
Here the application is defined as a SpringBoot application. The autoconfig should actually make everything work automatically.

JavaScript

Console output

JavaScript

Screenshot Eclipse (STS)
The screenshot shows the situation in the IDE (Eclipse STS). IDE

Advertisement

Answer

The solution was to use spring-boot-starter-parent in version >= 2.1.0

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement