Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring-boot with maven configuration

I'm trying to migrate to Spring-boot, I downloaded a lot of project from git-hub and trying with start.spring.io But every time when I'm trying to run maven-package I got followed Error:

 Error configuring: org.springframework.boot:spring-boot-maven-plugin. Reason: Unable to retrieve component configurator for plugin configuration

Because I tried a lot of opensource template I think that I must have issue with my env configuration, but I don't know from which point I should start. I had maven-2 and java-8 jdk and no problem with "normal" pom based projects.

like image 835
Mazeryt Avatar asked Jun 22 '14 19:06

Mazeryt


People also ask

What is @configuration in spring boot?

Spring @Configuration annotation is part of the spring core framework. Spring Configuration annotation indicates that the class has @Bean definition methods. So Spring container can process the class and generate Spring Beans to be used in the application.

Is Maven used in spring boot?

Introduction. The Spring Boot Maven Plugin provides Spring Boot support in Apache Maven. It allows you to package executable jar or war archives, run Spring Boot applications, generate build information and start your Spring Boot application prior to running integration tests.

What is groupId and artifactId in spring boot?

3.1.groupId – a unique base name of the company or group that created the project. artifactId – a unique name of the project. version – a version of the project.


1 Answers

As far as I know, Spring-Boot requires Maven3 in order to work, so an upgrade should fix the problem.

like image 73
EpicPandaForce Avatar answered Oct 07 '22 17:10

EpicPandaForce