在pom.xml内配置了Jetty服务
<repositories>
...
<!--
<repository>
<id>org.sonatype.oss.content.groups.jetty</id>
<name>jetty-plugin-repo</name>
<url> http://oss.sonatype.org/content/groups/jetty/</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
...
-->
</repositories>
</dependencies>
.....
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.0.1.v20110908</version>
</dependency>
.....
</dependencies>
在myEclipse中DebugRun配置启动参数jetty:run 然后抛出错误信息:
ERROR:No plugin found for prefix 'jetty' in the current project and in the plugin groups
解决办法
:找到setting.xml文件
定位到<pluginGroups>标签
在标签内加入<pluginGroup>org.mortbay.jetty</pluginGroup>
这样在每次服务启动时Maven会自动为我们补充前缀
分享到:
相关推荐
maven jetty 插件,直接放在ide的插件包即可
Jetty Eclipse Plugin.rar Jetty Eclipse Plugin.rar Jetty Eclipse Plugin.rar
maven集成jetty必须jar包maven-jetty-plugin,内含多个版本
gradle的jetty插件使用例子,详细参考:http://blog.csdn.net/xiejx618/article/details/38307289
1、这是Eclipse MyBatis generator 1.3.7插件的核心包 2、首先到Eclipse中下载 MyBatis Generator 1.3.7插件,下载完按步骤进行安装 打开Help > Eclipse Marketplace > Search > 输入框输入 MyBatis Generator ...
maven使用jetty启动,在pom.xml文件中添加Jetty plugin引用
When content assist is invoked, this plugin will look for XML files in the classpath of the current project whose XML namespace is http://www.thymeleaf.org/extras/dialect. If such a file is found, it ...
Swagger2Markup Maven插件 参考文件 该文档可以在找到 执照 版权所有2015 Robert Winkler 根据Apache许可证2.0版(“许可证”)获得许可; 除非遵守许可,否则您不得使用此文件。 您可以在以下位置获得许可证的...
This article helps you to quickly understand the basics of plugin development for IntelliJIDEA in order to start writing your own plugins. It describes general plugin design principles, descriptor ...
APE、FLAC插件APE Plugin for Nero
maven-jetty-plugin-6.1.25-sources.jar
maven-jetty-plugin-6.1.3.jar
maven-jetty-plugin-6.1.7.jar
maven-jetty-jspc-plugin-6.1.25-sources.jar
maven-jetty-plugin-6.1.5.jar
jetty-conf-maven-plugin.zip,Jetty上下文XML配置插件生成器帮助程序。
log4e plugin for the eclipse
maven-jetty-jspc-plugin-6.1.9.jar
maven-jetty6-plugin-1.0.jar
自定义一个插件,继承AbstractMojo,实现execute方法,引入该...-descriptor) on project maven-project: Error extracting plugin descriptor: ‘No mojo definitions wer e found for plugin: com.gupao:maven-pro