maven-compiler-plugin 插件版本信息错误提示的解决方法

报错信息Error resolving version for plugin 'org.apache.maven.plugins:maven-complier-plugin' from the repositories [local (C:\Users\XX\.m2\repository), central 
 (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository

这是由于没有指定maven-compiler-plugin的version导致的,增加version标签,如下图,问题解决

猜你喜欢

转载自blog.csdn.net/es_baoly/article/details/87456357