错误整理: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 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>
转载于:https://www.cnblogs.com/telwanggs/p/9523829.html
错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups相关推荐
- Maven出现错误No plugin found for prefix ‘jetty‘ in the current project and in the plugin groups的问题解决
Maven出现错误No plugin found for prefix 'jetty' in the current project and in the plugin groups的问题解决 参考文 ...
- 错误:No plugin found for prefix spring-boot in the current project and in the plugin groups
前言 maven 3.6.1 springboot v2.1.x 在多模块的 Maven 项目中,执行 mvn spring-boot:run -pl xxx.groupId:xxx.artifact ...
- maven出现No plugin found for prefix ‘help‘ in the current project and in the plugin groups [org.ap
控制台输入 mvn help:system 下载相应包时 出现如下问题: Noplugin found for prefix 'help' in the current project and in ...
- No plugin found for prefix ‘compile‘ in the current project
在编译flink的scala工程的时候,编译命令如下: mvn scala compile:compile package 完整报错信息如下: [INFO] --------------------- ...
- 【maven】No plugin found for prefix ‘install‘ in the current project
1.场景1 1.1 概述 在安装jar文件到本地仓库时有时会遇到这样的问题 解决方法: 下载 wagon-http-lightweight-2.2.jar 位置 https://repo.maven. ...
- no plugin found for prefix ‘tomcat 7‘ in the current project and in the plugin groups的解决方法
no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups的解决方法 参考文章: (1) ...
- Maven配置完毕后构建失败,无法下载JAR包,输入mvn help:system后出现No plugin found for prefix ‘help‘...问题的解决方案
这个问题困扰了我很久,找了很多解决方案,但还是一直无法解决.我在虚拟机中按照标准步骤配置了很多次,每次都能够成功,但一在物理机中,相同的配置步骤带来的结果却总是配置失败,在cmd中输入mvn help ...
- 通过Cli方式创建uni-app常见错误整理
通过Cli方式创建uni-app常见错误整理 文章目录 通过Cli方式创建uni-app常见错误整理 写在前面 错误一 :exports is not not defined 错误二:this.get ...
- 【QT学习】编译错误:FTH: (2592): Fault tolerant heap shim applied to current process. 解决办法
文章目录 前言 一.打开终端命令 二.打开注册表 三.找到对应文件 四.删除工程路径 五.其他解决办法 总结 前言 FTH: (2592): *** Fault tolerant heap sh ...
最新文章
- Golang类型转化方法汇总
- 安装Apache的步骤
- 数据库 数据库SQL语句一
- 如何访问.then()链中的先前的诺言结果?
- Spark SQL运行架构
- 人工智能基础入门——神经网络讲解
- 美股全线收涨 特斯拉涨超7% 瑞幸大跌近13%
- Http协议及其实现httpd
- LOJ10064黑暗城堡
- 【百科】中华医书集成
- 【无标题】C语言连续输出输入语句执行跳过的问题
- el-admin框架简单解析-快速入门(前端部分)
- 算法复杂度:算法时间复杂度和空间复杂度表示法
- 额温枪为什么老是测不准 额温枪调节方法
- nz-upload的[nzCustomRequest]自定义上传
- 硬盘接口IDE、SATA、SCSI
- 西瓜书习题 - 3.线性模型
- 运维(22) 制作启动U盘安装黑苹果macOS
- [Systemverilog学习笔记] Thread Communication-Event、Semaphore、mailbox
- jelly 页面 教程_Android Jelly Bean通知教程