Home > OS >  Plugins not found in sprinboot and maven
Plugins not found in sprinboot and maven

Time:11-02

I have a new error in my project that is in the pom.xml file. How can I fix it?

The error below is shown in IntelliJ idea:

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
Plugin 'org.apache.maven.plugins:maven-compiler-plugin:' not found
Plugin 'org.apache.maven.plugins:maven-compiler-plugin:' not found

CodePudding user response:

Only add the version.

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <version>${project.parent.version}</version>
</plugin>

<version>${project.parent.version}</version>


<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>${maven-compiler-plugin.version}</version>

Now its working.

  • Related