No plugin found for prefix 'war' in the current project and in the plugin groups
Posted 12344321hh
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了No plugin found for prefix 'war' in the current project and in the plugin groups相关的知识,希望对你有一定的参考价值。
解决办法:
在pom里面添加 :
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
</dependency>
以上是网上普遍流行的解决方法,如果修改之后依旧不行,可以尝试如下方法:
查看此目录下的文件,一般就是这里不对,之前是2.1就不行,现在文件替换为2.2的就可以了
以上是关于No plugin found for prefix 'war' in the current project and in the plugin groups的主要内容,如果未能解决你的问题,请参考以下文章
No plugin found for prefix ‘install‘ 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 ‘tomcat7’ in the current project and in the plugin groups
No plugin found for prefix ‘tomcat7’ in the current project and in the plugin groups
Maven出现错误No plugin found for prefix 'jetty' in the current
用jenkins生成文档:No plugin found for prefix 'javadoc' in the current project and in the plugin g