码迷,mamicode.com
首页 > Web开发 > 详细

A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.1.1:war

时间:2016-09-08 14:30:15      阅读:2061      评论:0      收藏:0      [点我收藏+]

标签:

完美解决方案:

http://stackoverflow.com/questions/18442753/a-required-class-was-missing-while-executing-org-apache-maven-pluginsmaven-war

this happened to me too after adding the version tag, that was missing, to the maven-war-plugin (not sure what version was using by default, i changed to the latest, 2.6 in my case). I had to wipe .m2/repository to have the build succeed again.

I tried first to clean the maven-filtering folder (in the repo) but then instead of a MavenFilterException i was getting an ArchiverException. So i concluded the local repository was corrupted (for a version upgrade?) and i deleted everything.

That fixed it for me. Just clean your local repo.

A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.1.1:war

标签:

原文地址:http://www.cnblogs.com/sos-blue/p/5852716.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!