No plugin found for prefix 'jetty' in the current project and in the plugin groups 【转】
- [ERROR] No plugin found for prefix 'jetty' in the current project and in the plu
- gin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repo
- sitories [local (C:\Documents and Settings\Administrator\.m2\repository), centra
- l (http://repo.maven.apache.org/maven2)] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
详情如下:
- C:\myjava\workspace>mvn jetty:run
- [INFO] Scanning for projects...
- [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:mave
- n-deploy-plugin:2.7: Failed to parse plugin descriptor for org.apache.maven.plug
- ins:maven-deploy-plugin:2.7 (C:\Documents and Settings\Administrator\.m2\reposit
- ory\org\apache\maven\plugins\maven-deploy-plugin\2.7\maven-deploy-plugin-2.7.jar
- ): invalid LOC header (bad signature)
- [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:mave
- n-site-plugin:3.0: Failed to parse plugin descriptor for org.apache.maven.plugin
- s:maven-site-plugin:3.0 (C:\Documents and Settings\Administrator\.m2\repository\
- org\apache\maven\plugins\maven-site-plugin\3.0\maven-site-plugin-3.0.jar): inval
- id LOC header (bad signature)
- Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
- metadata.xml
- Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadat
- a.xml
- Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-m
- etadata.xml (11 KB at 10.7 KB/sec)
- Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata
- .xml (22 KB at 18.2 KB/sec)
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 2.110s
- [INFO] Finished at: Sun Mar 03 17:31:20 CST 2013
- [INFO] Final Memory: 4M/15M
- [INFO] ------------------------------------------------------------------------
- [ERROR] No plugin found for prefix 'jetty' in the current project and in the plu
- gin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repo
- sitories [local (C:\Documents and Settings\Administrator\.m2\repository), centra
- l (http://repo.maven.apache.org/maven2)] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
settings.xml没有配置插件应此需要
- mvn org.mortbay.jetty:maven-jetty-plugin:run
这样来运行。
如果需要使用jetty:run,那么必须在maven的setting.xml下配置
- <pluginGroups>
- <pluginGroup>org.mortbay.jetty</pluginGroup>
- </pluginGroups>
或者在对应项目的pom.xml中plugins的节点下添加配置
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <configuration>
- <webApp>
- <contextPath>/</contextPath>
- </webApp>
- <stopKey>webx</stopKey>
- <stopPort>9999</stopPort>
- <connectors>
- <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
- <port>8081</port>
- <maxIdleTime>60000</maxIdleTime>
- </connector>
- </connectors>
- <requestLog implementation="org.eclipse.jetty.server.NCSARequestLog">
- <filename>target/access.log</filename>
- <retainDays>90</retainDays>
- <append>false</append>
- <extended>false</extended>
- <logTimeZone>GMT+8:00</logTimeZone>
- </requestLog>
- <systemProperties>
- <systemProperty>
- <name>productionMode</name>
- <value>${productionMode}</value>
- </systemProperty>
- </systemProperties>
- </configuration>
- </plugin>
No plugin found for prefix 'jetty' in the current project and in the plugin groups 【转】的更多相关文章
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
在maven进行jetty的调试中出现错误: [ERROR] No plugin found for prefix 'jetty' in the current project and in the ...
- No plugin found for prefix ‘jetty’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
maven配置文件(最大的那个)的<pluginGroups></pluginGroups>增加一行如下<pluginGroups><pluginGroup& ...
- Maven出现错误No plugin found for prefix 'jetty' in the current project and in the plugin groups的问题解决
只需在maven的setting.xml文件上加入如下节点: <pluginGroups> <pluginGroup>org.mortbay.jetty</pluginG ...
- Maven命令行创建web项目,并部署到jobss当中(解决No plugin found for prefix 'jboss-as' in the current project and in the plugin groups [org.apache.maven.plugins,问题)
首件创建项目:此处可参照:http://maven.apache.org/guides/mini/guide-webapp.html mvn archetype:generate -DgroupId= ...
- No plugin found for prefix 'tomcat' in the current project and in the plugin groups和java.net.BindException: Address already in use: JVM_Bind <null>:8080的错误解决
错误报告:No plugin found for prefix 'tomcat' in the current project and in the plugin groups [org.apache ...
- Maven项目无法下载JAR包,输入mvn help:system出现No plugin found for prefix 'help' in the current project and in the plugin groups的解决方案
这个问题困扰了我很久,一直无法解决:我在虚拟机里面按照同样的步骤配置了三次maven项目,每次都能成功:可一旦到外面maven项目总是创建失败,输入mvn help:system总是出现No plug ...
- No plugin found for prefix 'war' in the current project and in the plugin groups
解决办法: 在pom里面添加 : <dependency> <groupId>org.apache.maven.plugins</groupId> <arti ...
- No plugin found for prefix 'mybatis-generator' in the current project
http://blog.csdn.net/you23hai45/article/details/50792430 1.错误描述 F:\workspaces\Mybatis>mvn mybatis ...
- 关于Could not read pom.xml和No plugin found for prefix 'tomcate7' in the current project
当时出现的错误: 有大神知道我这个错误怎么解决吗[ERROR] No plugin found for prefix 'tomcate7' in the current project and in ...
随机推荐
- 瓶颈生成树与最小生成树 POJ 2395 Out of Hay
百度百科:瓶颈生成树 瓶颈生成树 :无向图G的一颗瓶颈生成树是这样的一颗生成树,它最大的边权值在G的所有生成树中是最小的.瓶颈生成树的值为T中最大权值边的权. 无向图的最小生成树一定是瓶颈生成树,但瓶 ...
- js计算系统当前日期是星期几的几种方法
方法一: // 计算系统当前是星期几 var str = "今天是星期" + "日一二三四五六".charat(new date().getday()); 方法 ...
- NGUI OnChange Event
那些组件有OnChange? 下面这些组件都有OnChange事件,当你点击,下拉选择时,就会触发它们. NGUI中对应的组件 PopupList (下拉列表) Toggle (复选框) Input ...
- Jenkins学习五:更改Jenkins的主目录
工作中,由于Jenkins默认的主目录空间太小,导致需要将Jenkins默认的主目录修改到其它目录.本文针对更改Jenkins的主目录详细介绍. 注意:在Jenkins运行时是不能更改的. 请先将Je ...
- ios之申请后台延时执行和做一个假后台的方法(系统进入长时间后台后,再进入前台部分功能不能实现)
转自:http://sis hu ok.com/forum/blogCategory/showByCategory.html?categories_id=138&user_id=10385 ...
- Python-操作Memcache、Redis、RabbitMQ、
Memcache 简述: Memcache是一套分布式的高速缓存系统,由LiveJournal的Brad Fitzpatrick开发,但目前被许多网站使用以提升网站的访问速度,尤其对于一些大型的.需要 ...
- 如何等到所有的图片都加载完成之后触发一次onload事件
var details_img = $(".details img"); //所有的图片 var img_len = details_img.length; details_img ...
- js的nextSibling,属性兼容IE和FF等浏览器
Firefox中 空白字符,比如回车,空格等也算作一个Node 就是firstChild,nextsbiling这两个.下面给出函数吧.还是代码比较说明问题代码都是网上来的.不过要注意的是,getNe ...
- jquery中$("#afui").get(0)为什么要加get(0)呢?
jquery中$("#afui").get(0)为什么要加get(0)呢? 2015-04-13 17:46SYYZZ3 | 浏览 509 次 Jquery $("#a ...
- easyui datagrid 多行删除问题
问题: var selected = $("#tbList").datagrid("getSelections"); selected的选中项 会包含上次已删掉 ...