eclipse导入maven项目报错如下:
Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:testCompile (execution: default,
phase: test-compile)
- Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:compile (execution: default, phase:
compile)
解决方式:
<!-- 解决错误的关键在于包装 pluginManagement 标签-->
添加以下标签即可:
<pluginManagement>
</pluginManagement>