MAVEN 报错:Plugin ‘org.apache.maven.plugins:maven-compiler-plugin:2.3.2‘ not found

1. Questions:

When MAVEN sets the compiled version, an error is reported: Plugin 'org.apache.maven.plugins:maven-compiler-plugin:2.3.2' not found 

As shown below:

The configuration is as follows:

2. Solution:

Set the JDK version to be consistent with the version configured in the POM file:

Change the version 1.7 of the POM file to version 13.

3. The investigation process:

Check whether the configuration is wrong;

Go to the maven official website to query the version of the plug-in and other information:

https://mvnrepository.com

Enter maven-compiler-plugin in the input box to search:

Click to view version information:

You can see that there is no problem with the dependency configuration:

Guess you like

Origin blog.csdn.net/unbelievevc/article/details/132683958