Reason
This error may occur during Maven build. The reason is simple and this is due wrong path in <outputDirectory> section in assembly config XML file.
Basically this error occurs when you are trying to build project that is compatible with Linux on Windows 🙂
Solution
Change path in <outputDirectory> to correct value. Please find the example below. In most cases the “./” (dot and slash) before path will resolve problem.
<fileSets> <fileSet> <directory>${project.basedir}</directory> <outputDirectory>./</outputDirectory> <includes> <include>*/include> </includes> </fileSet> </fileSets>
If you enjoyed this post please add the comment below or share this post on your Facebook, Twitter, LinkedIn or another social media webpage.
Thanks in advanced!