在maven进行jetty的调试中出现错误: [plain] view plaincopyprint? [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 Se…
在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\repo…
maven配置文件(最大的那个)的<pluginGroups></pluginGroups>增加一行如下<pluginGroups><pluginGroup>org.mortbay.jetty</pluginGroup></pluginGroups>…
只需在maven的setting.xml文件上加入如下节点: <pluginGroups> <pluginGroup>org.mortbay.jetty</pluginGroup> </pluginGroups> setting.xml文件放在maven运行文件夹的conf文件夹下. 如果不想像上面增加额外的节点,可以通过以下的命令启动: mvn org.mortbay.jetty:maven-jetty-plugin:run…
首件创建项目:此处可参照:http://maven.apache.org/guides/mini/guide-webapp.html mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp 将目录切换至my-webapp下,编译和打包: mvn clean package 此时,启动jboss服务器(我的是jboss…
错误报告:No plugin found for prefix 'tomcat' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (E:\repo), apache.snapshots (http://repository.apache.org/content/groups/sna…
这个问题困扰了我很久,一直无法解决:我在虚拟机里面按照同样的步骤配置了三次maven项目,每次都能成功:可一旦到外面maven项目总是创建失败,输入mvn help:system总是出现No plugin found for prefix 'help' in the current project and in the plugin groups 这里记录了我所有的思考过程,想直接查看解决方案的可点击这里:解决方案 先说一下物理机环境: OS:Win10家庭中文版 JDK:1.8(这里一定一定要…
解决办法: 在pom里面添加 : <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version> </dependency>以上是网上普遍流行的解决方法,如果修改之后依旧不行,可以尝试如下方法:查看此目录下的文件,一般就是…
http://blog.csdn.net/you23hai45/article/details/50792430 1.错误描述 F:\workspaces\Mybatis>mvn mybatis-genertor:generate [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven -metadata.xml Downloa…
当时出现的错误:  有大神知道我这个错误怎么解决吗[ERROR] No plugin found for prefix 'tomcate7' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\mavencangku\repository), aliyun (http://ma…
一.异常现象 spingbott项目在eclipse中执行maven命令:spring-boot:run, 出现异常: No plugin found for prefix 'spring-boto' in the current project 二.解决方法 参考: No plugin found for prefix 'spring-boot' ...的问题解决方法…
问题发现: 在构建Maven项目的时候,出现了No plugin found for prefix 'tomcat7' in the current project的错误. 是需要在Maven的Pom文件里面添加tomcat7的plugin. 解决方法: <build> <finalName>springmvc</finalName> <plugins> <plugin> <groupId>org.apache.tomcat.mave…
解决方法一: 找到这个settings.xml文件,进行编辑,在pluginGroups标签下加入下面的配置 <pluginGroups><pluginGroup>org.apache.tomcat.maven</pluginGroup></pluginGroups> 解决方法二:在pom.xml文件中加入 <pluginRepositories> <pluginRepository> <id>apache.snapsho…
使用maven build编译出错 “no plugin found for prefix 'tomcat 7' in the current project..........” 参照下面方法 https://blog.csdn.net/u012661010/article/details/73734058 我使用了方法一解决…
maven 安装不上docker插件,运行 提示:docker:bulid时No plugin found for prefix 'docker' 原因是maven不能识别 docker-maven-plugin 需要再setting.xml 的pluginGroups标签处中加上 <pluginGroup>com.spotify</pluginGroup>如下,reimport就可以了 <pluginGroups> <pluginGroup>com.spo…
项目地址:https://github.com/dianping/cat 编译步骤: 这个项目比较另类,把编译需要的jar包,单独放在git分支mvn-repo里了,而且官方文档里给了一个错误的命令提示: git git@github.com:dianping/cat.git mvn-repo 当你直接把这条命令贴到terminal里执行时,会提示命令无效,正确的姿势如下: 1.先安装jdk 1.7 这点很重要,cat项目的开发时间比较早,当时估计jdk8还没有,在1.8下编译虽然能成功,但是最…
官方指导 http://maven.apache.org/guides/plugin/guide-java-plugin-development.html http://maven.apache.org/plugin-developers/ 插件命名公约和 Apache Maven 商标 maven-<someplugin>-plugin 为官方的命名模式(Maven 的什么插件) <yourplugin>-maven-plugin 非官方的插件命名模式(你的Maven插件) 1.…
项目地址:https://github.com/dianping/cat 编译步骤: 这个项目比较另类,把编译需要的jar包,单独放在git分支mvn-repo里了,而且官方文档里给了一个错误的命令提示: git git@github.com:dianping/cat.git mvn-repo 当你直接把这条命令贴到terminal里执行时,会提示命令无效,正确的姿势如下: 1.先安装jdk 1.7或Jdk1.8[现在已经支持jdk1.8了] 这点很重要,cat项目的开发时间比较早,当时估计jd…
一.如果这个工程是标准的maven-webapp那么基本上不用修改,直接运行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:\Docu…
spring有一个入门例子,在docker里跑spring-boot程序 下载后按照教程执行mvn package docker:build.并不能成功.会报错. [ERROR] No plugin found for prefix 'docker' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositorie…
[ERROR] No plugin found for prefix 'sonar' in the current project and in the plugin groups [org.mortbay.jetty, org.jenkins-ci.tools, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/maven-3.0.5/repo/repositor…
都说Maven好,以前一直用ant,这次体验一下. 开始之前,maven给我的印象有2个,一是库依赖管理做得比较好,二是规范了构建编译过程,说白了就是什么目录都规定好了. 好开始安装,解压缩,设置m2_home, mave_opts,path环境变量,在命令行执行"mvn help:describe -Dplugin=help"... [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:…
1.Windows下安装Maven 首先去下载Maven安装包,http://maven.apache.org/download.cgi,目前最新版本是 Maven 3.2.3 . 解压到本地,可以看到目录结构如下: 配置环境变量,添加系统变量"M2_HOME",路径为解压到本地的Maven文件夹路径. 在path变量后添加%M2_HOME%\bin 注意:新加的值前要有分号.  安装完成后,在命令行下执行下面的命令:mvn -v如果输出如下信息,则安装成功. 2.Maven初体验 D…
1.Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5...: Q: 第一次使用maven+eclipse(kepler),创建maven 工程后,遇到如下问题: Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5... A: 在stackoverflow发现答案: 在工程的pom.xml中添加:…
转自:http://blog.csdn.net/luhuajcdd/article/details/8132386 手动的创建自己的android application   1.用android tool 创建项目. android create project \ --target <target_ID> \ --name <your_project_name> \ --path path/to/your/project \ --activity <your_activi…
作者呕血总结,下面写的每一个错误我都遇过 · Maven安装 · Eclipse配置 · Maven安装 安装前请确保已经装有JDK. 一. 准备Maven程序包 到官网https://maven.apache.org/download.cgi下载最新版,请注意查看是否符合安装的要求(页面System Requirements处) 确认符合条件后可选择Binary zip包下载,目前最新版的Maven是3.5.4.(Source archive是源码包) 解压文件到你指定的目录,文件结构如图所示…
Multiple annotations found at this line: - No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (F:\MavenRepository), nexus (http://maven.oschina.net/content/groups/public/), alima…
1.所使用材料 ,spring boot 项目 基于maven ,maven 工具, docker工具 ps:为啥使用 docker 公司微服务需要启动太多,有两个优点吧! 1.方便管理,2.减少服务占用内存量 2.上手 a.新建Dockerfile文件如下目录 b.Dockerfile文件内容 FROM openjdk:8-jdk-alpine VOLUME /tmp ARG JAR_FILE COPY ${JAR_FILE} app.jar ENTRYPOINT ["java",&…
1. 开启2375端口,供外部访问docker vim /usr/lib/systemd/system/docker.service 修改ExecStart为下面一行内容 #ExecStart=/usr/bin/dockerd -H unix:// ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock systemctl daemon-reload // 1,加载docker守护线程 syst…
Maven安装手册 1.准备安装包 安装包: apache-maven-3.5.4-bin.zip  (最好JDK 1.7及以上版本) 集成包: eclipse-maven3-plugin.zip 2.maven安装 2.1 将下载好的maven安装包解压到你想放的硬盘目录下 例:H:\maven\apache-maven-3.5.4 2.2 配置环境变量 MAVEN_HOME = H:\maven\apache-maven-3.5.4 path = %MAVEN_HOME%\bin: 2.3…