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

Posted 七月逆流

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.1.1:war(示例代相关的知识,希望对你有一定的参考价值。

完美解决方案:

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(示例代的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu python Compression requires the (missing) zlib module

Python version 3.3 required, which was not found in the registry

Sublime Text 3总是出现“1 missing dependency was just installed.”

python version 2.7 required,which was not found in the registry

Python:XXX missing X required positional argument: 'self'

Python version 3.6 required, which was not found in the registry错误解决