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",就会运行成功



本文标签: 报错插件mavenjeetyPlugin