关于maven项目更新依赖时的问题解决

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/TOP__ONE/article/details/85159708

今天新建maven项目,发生problems:

Description    Resource    Path    Location    Type CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependenc...

后经过查找错误提示中的代码,发现犹豫网络原因,所依赖的jar没有成功下载下来,所以报上述错误。解决方案:

只需要根据jar位置,在reposirity中找到jar所处位置删除目录,然后重新更新下项目的依赖即可解决。

此文章只是为了提醒而已~各位看官笑纳

猜你喜欢

转载自blog.csdn.net/TOP__ONE/article/details/85159708