1.<artifactId>maven-compiler-plugin</artifactId><version>3.8.0</version>等 报红
1.1首先要找设置File--Settings--Build,..--Maven
1.2然后就继续File--Invalidata Caches
点击这个键,再开启idea然后在设置pom.xml文件的代码
<!-- 插入代码--> <groupId>org.apache.maven.plugins</groupId>
演示:文章来源:https://www.toymoban.com/news/detail-677136.html
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
<plugin>
<!-- 插入代码-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
然后就OK了文章来源地址https://www.toymoban.com/news/detail-677136.html
到了这里,关于IDEA中找不到maven插件Plugin‘ ‘ not found 解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!