admin管理员组文章数量:1612097
一、问题描述
在POM.XML引入jeety插件,用来运行项目:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.16.v20140903</version>
</plugin>
运行命令:
mvn jetty:run
就报错:
[ERROR] No plugin found for prefix 'jeety' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (G:\MavenRepository), central (https://repo.maven.apache/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache/confluence/display/MAVEN/NoPluginFoundForPrefixException
提示找不到jeety。。。
二、解决方法
出现这种问题就是命令没有输全,要把groupId输进去:
点击"RUN",就会运行成功
版权声明:本文标题:Maven中的jeety插件运行报错:No plugin found for prefix 'jeety' in the current project and in the plugin group 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728630669a1167050.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论