[ERROR] No plugin found for prefix 'jetty' in the current project and in the plu gin groups [org.apa
来源:互联网 发布:标签编辑软件 编辑:程序博客网 时间:2024/05/20 02:21
maven项目pom.xml配置jetty,运行jetty:run报错。
[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\reymont.li\.m2\repository), central (
http://repo.maven.apache.org/maven2)] -> [Help 1]
【解决办法1:】
在maven的setting.xml中
定位到<pluginGroups>标签
在标签内加入<pluginGroup>org.mortbay.jetty</pluginGroup>
这样在每次服务启动时Maven会自动为我们补充前缀
【解决办法2:】
在对应项目的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>
- [ERROR] No plugin found for prefix 'jetty' in the current project and in the plu gin groups [org.apa
- 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
- 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
- No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.mave
- 错误整理: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
- 错误整理: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
- 错误整理: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
- No plugin found for prefix 'tomcat7' in the current project and in the plugin groups [org.apache.mav
- 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
- No plugin found for prefix 'war' in the current project and in the plugin groups
- No plugin found for prefix ‘war’ in the current project and in the plugin groups
- No plugin found for prefix 'war' in the current project and in the plugin groups
- Spring 一、 之Bean容器初始化以及bean实例的获取
- RatingBar控件的使用
- CentOS 7 搭建 Docker 环境
- arm汇编指令bne、beq和tst
- 初探OpenStack Mitaka
- [ERROR] No plugin found for prefix 'jetty' in the current project and in the plu gin groups [org.apa
- AndroidStudio中如何使用Git和Github管理项目
- 芒果iOS开发之AFNetworking3.0.4使用指南
- CodeForces 163A Substring and Subsequence(DP)
- thinkphp多语言切换
- Android之Button自定义点击效果
- LeetCode Algorithms #172 <Factorial Trailing Zeroes>
- VS上jpeg编码程序移植到DSP的总结
- 关于博客的一点点想法