Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.5.RELEASE:run (default-cli)

The above error is basically come due to plugin issue in maven for spring-boot

You can run the project in different way also if you want to run

First create a jar for the project by running

mvn clean install

Then run the jar from normal java command

java -jar jar-localtion.jar

if want to run with any specific profile then use this

java -Dspring.profiles.active= -jar jar-localtion.jar