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 ...
随机推荐
- 三星嵌入式开发平台 三星Cortex-A9 4412 POP与SCP对比
iTOP-4412核心板是迅为电子推出的一款高端四核核心板,其中分为POP封装与SCP封装,配备三星Exynos 4412四核处理器,主频为1.4GHz,内置16GB存储空间.该板设计小巧.配备三星自 ...
- CentOS 6.5上MySQL安装部署与入门。
centos 6.5 yum 安装mysql1. 安装软件:yum install -y mysql-server mysql mysql-devel2.启动服务:service mysqld sta ...
- Laxcus大数据管理系统2.0(5)- 第二章 数据组织
第二章 数据组织 在数据的组织结构设计上,Laxcus严格遵循数据和数据描述分离的原则,这个理念与关系数据库完全一致.在此基础上,为了保证大规模数据存取和计算的需要,我们设计了大量新的数据处理技术.同 ...
- python中str()和repr()的区别
>>> s = 'Hello, world.' >>> str(s) 'Hello, world.' >>> repr(s) "'Hel ...
- 搭建WP8开发环境
开发环境 VS2012旗舰版 遇到的问题 安装WP SDK8.0出错提示: 根据当前系统时钟或签名文件中的时间戳验证时要求的证书不在有效期内 解决办法 方法一:把操作系统的时间日期调整到系统的安装日期 ...
- Windows系统安装Oracle 11g数据库
一.下载 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html以下两网址来源此官方下载页 ...
- 023医疗项目-模块二:药品目录的导入导出-从数据库中查出数据用XSSF导出excel并存放在虚拟目录最后下载(包括调试)
我们要实现的效果: 进入到这个页面后,输入要查询的条件,查询出药品表的数据,然后按下导出按钮 ,就会在服务器的一个目录下生成一个药品表的excel表格. 点击"导出"之后 ...
- 021医疗项目-模块二:药品目录的导入导出-介绍poi类
我们使用的是.10版本 Apache POI - the Java API for Microsoft Documents,Apache POI 是用Java编写的免费开源的跨平台的 Java API ...
- Http请求中POST与GET的区别——前端面试
一.原理区别 Http定义了与服务器交互的方法,其中最基本的四种是:GET,POST,PUT,DELETE,正对应着对资源的查,改,增,删.URL的全称是资源描述符,我们可以这样认为,一个URL地址, ...
- 【转】【UML】使用Visual Studio 2010 Team System中的架构师工具(设计与建模)
Lab 1: 应用程序建模 实验目标 这个实验的目的是展示如何在Visual Studio 2010旗舰版中进行应用程序建模.团队中的架构师会通过建模确定应用程序是否满足客户的需求. 你可以创建不同级 ...