首页 > 其他 > 详细

Maven常见错误(一)

时间:2019-09-06 23:54:50      阅读:1810      评论:0      收藏:0      [点我收藏+]

在使用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>

Maven常见错误(一)

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!