http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
2015-06-02 19:17
751 查看
No plugin found for prefix 'jetty' in the current project and in the plugin groups
2014-09-30 13:08:01
原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。http://10000001.blog.51cto.com/4600383/1559704
现在Jetty的版本已经到9了,也早已经在Eclipse的门下了。所以有很多groupId,比如:org.eclipse.jetty、org.mortbay.jetty.这些都可以用的哦。
我在使用MyEclipse结合maven操作jetty作为开发的服务器,这开开发比较方便。
当我运行命令:
jetty:run
出现:
[ERROR] 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 [local (F:\Java\maven\repository), central (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 switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
这样的问题,其实就是说,maven不知道这个插件在哪里,所以我们需要配置或者加参数。
解决:
方法1:
执行的时候是这样的:
mvn org.mortbay.jetty:maven-jetty-plugin:run
或:
mvn org.eclipse.jetty:maven-jetty-plugin:run
方法2:
在maven的配置文件插件组上添加插件:
<pluginGroups>
<pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>
或:
<pluginGroups>
<pluginGroup>org.eclipse.jetty</pluginGroup>
</pluginGroups>
这样就可以解决!
2014-09-30 13:08:01
原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。http://10000001.blog.51cto.com/4600383/1559704
现在Jetty的版本已经到9了,也早已经在Eclipse的门下了。所以有很多groupId,比如:org.eclipse.jetty、org.mortbay.jetty.这些都可以用的哦。
我在使用MyEclipse结合maven操作jetty作为开发的服务器,这开开发比较方便。
当我运行命令:
jetty:run
出现:
[ERROR] 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 [local (F:\Java\maven\repository), central (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 switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
这样的问题,其实就是说,maven不知道这个插件在哪里,所以我们需要配置或者加参数。
解决:
方法1:
执行的时候是这样的:
mvn org.mortbay.jetty:maven-jetty-plugin:run
或:
mvn org.eclipse.jetty:maven-jetty-plugin:run
方法2:
在maven的配置文件插件组上添加插件:
<pluginGroups>
<pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>
或:
<pluginGroups>
<pluginGroup>org.eclipse.jetty</pluginGroup>
</pluginGroups>
这样就可以解决!
相关文章推荐
- 网络状态监测之 Reachability的使用
- android网络相册(带磁盘缓存DiskLruCache 和内存缓存LruCache)
- Java编写网络爬虫笔记(第三部分:Jsoup的强大)
- HttpClient取得自定义的状态码302,并获取Header中的参数Location
- 正确处理浏览器在下载文件时HTTP头的编码问题(Content-Disposition)
- java 从网络Url中下载文件
- AsyncHttpClient 源码分析
- Http通信
- unix网络编程(unp)----源代码环境搭建
- System.ServiceModel.CommunicationException: 接收HTTP 响应时发生错误
- System.ServiceModel.CommunicationException: 接收HTTP 响应时发生错误
- 计算机网络复习总结之网络层(二)
- Foundation--NSHTTPCookieStorage
- 图解HTTPS协议加密解密全过程
- 使用boost做post/get请求开发笔记
- 新家地址 http://vizee.org
- TCP/UDP编程中的问题汇总
- TCP连接建立与关闭
- Android Volley完全解析(二),使用Volley加载网络图片
- Android之Http通信——1.初识Http协议