Could not find artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.9.1 in alimaven
时间: 2023-10-27 21:49:41 浏览: 198
Maven使用tomcat8-maven-plugin插件.docx
This error message indicates that the Maven build tool was unable to locate the maven-compiler-plugin version 3.9.1 in the repository you are using (in this case, alimaven).
To resolve this issue, you can try the following steps:
1. Check if you have configured the correct repository in your Maven settings.xml file. If not, add the correct repository that contains the required artifact.
2. Check if the artifact version you are looking for is correct. If not, update the version to the correct one.
3. If the artifact is not available in any of the repositories you are using, you can try adding a new repository that contains the required artifact.
4. If none of the above steps work, you can manually download the required artifact and install it in your local repository using the 'mvn install:install-file' command.
阅读全文