【问题标题】:No plugin found for prefix 'spring-boot'找不到前缀“spring-boot”的插件
【发布时间】:2018-01-29 02:11:48
【问题描述】:

我遇到错误

[DEBUG] Writing tracking file /root/.m2/repository/org/codehaus/mojo/resolver-status.properties
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/root/.m2/repository)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.391 s
[INFO] Finished at: 2017-08-21T04:57:47+00:00
[INFO] Final Memory: 10M/106M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), central (https://repo.maven.apache.org/maven2)]

请建议我是否需要在我的 pom.xml 中进行任何更正

【问题讨论】:

标签: spring maven


【解决方案1】:

转到你的 pom.xml 在终端中的位置 并使用命令 mvn spring-boot:run

【讨论】:

    猜你喜欢
    • 2015-08-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-22
    • 1970-01-01
    • 2019-11-25
    • 2019-01-17
    • 2019-08-09
    相关资源
    最近更新 更多