No plugin found for prefix 'war' in the current project and in the plugin groups
pom.xml加入
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
</dependency>
接着maven clean
maven install 解决