Maven常见错误(一)

时间:2019-09-06 23:54:50   收藏:0   阅读:1814

在使用Maven install进行打包时

OS=Windows and the assembly descriptor contains a *nix-specific root-relativ

报出来如上的错误。

解决方案:
在打包项目的xml中加上下面的代码即可。

<fileSets>
    <fileSet>
        <directory>${basedir}/src/main/resources</directory>
        <outputDirectory></outputDirectory>
    </fileSet>
</fileSets>

原文:https://www.cnblogs.com/liliHexiaogou/p/11478602.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!