从svn检出maven项目,发现报错
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven- compiler-plugin:3.1
方法1. 右键项目 - Maven - Update Project(或者使用快捷键Alt + F5) - 选中Force Update of Snapshots/Releases
注意: 如果右键没有Maven,说明项目还不是maven项目,可以右键 - Configure - Convert to Maven Project将项目转换为maven项目
如果方法1未凑效, 那又可能是缺少包导致,可以打开pom.xml,查看Overview选项卡,点开顶部的红色提示查看(点开后不要把鼠标移开,我点的时候有延时几秒的情况),然后会弹出提示,说哪些包有问题,然后自己检查看,可以拉到窗口最后,会有Jump to definition in parent POM,然后看看是否有自己看懂的信息.
参考文章:
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile