在使用Maven打包时,报错:

[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /

原因:
在windows上执行assembly任务,但是它包含了相对于linux的路径

解决办法:

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

更改为:

  <fileSets><fileSet><directory>src/assembly/resources</directory><outputDirectory>${file.separator}</outputDirectory></fileSet></fileSets>

OS=Windows OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference相关推荐

  1. OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting wi

    文章目录 问题maven打包报错 解决 问题maven打包报错 OS=Windows and the assembly descriptor contains a *nix-specific root ...

  2. OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference 错误

    报错详情 [INFO] Reading assembly descriptor: src/assembly/assembly.xml [ERROR] OS=Windows and the assemb ...

  3. android源码下载方法 批量下载 基于windows os

    安装win版的Gitbash, 在这里 http://msysgit.googlecode.com/files/Git-1.6.0.2-preview20080923.exe. 选择默认安装路径(否则 ...

  4. windows os x_如何立即在OS X上获取Windows样式的窗口捕捉

    windows os x Apple's recent announcement that the upcoming OS X release (El Capitan or 10.11) will f ...

  5. mac linux win三系统安装教程,【教程】macbook pro上安装三系统详解教程(mac os x+windows+linux ubuntu)...

    有关如何在macbook pro上安装三系统(mac os x+windows+linux ubuntu),本人本本MB986亲自测试,经过4天奋战已初有小成,特地写下详细安装教程便于惠存,如有问题情 ...

  6. windows os x linux比较,对比测试:Ubuntu 11.04 vs Win7 vs OS X 10.7

    今天我们带来了关于Ubuntu 11.04,Windows 7,Mac OS X 10.7的对比测试,包括图片编辑.视频编码.多任务测试等.本次测试是在同一机子上展开的,这样避免了硬件的因素影响. U ...

  7. Windows OS上安装运行Apache Kafka教程

    Windows OS上安装运行Apache Kafka教程 下面是分步指南,教你如何在Windows OS上安装运行Apache Zookeeper和Apache Kafka. 简介 本文讲述了如何在 ...

  8. windows os x linux比较,windows、Linux与OS X相比,哪个系统更适合写代码?

    用过Linux阵营的ubuntu,和OS X,windows,论系统的话,综合上还是OS X好用,尤其是包管理上,还有大爱的trackpad,mac的触摸板的精准度要高出很多,综合性总体划分的话OS ...

  9. Run Android apps in Windows, OS X, Linux with Chrome (and a modified runtime)

    2014-09-19 22:16:39 Google has begun bringing Android apps to the Chrome Web Store, allowing you to ...

最新文章

  1. 上班4年“武功”全废,想跳槽却被HR嘲讽,这位搞AI的硕士小哥心态崩了
  2. PHP做下载文件的方法
  3. python 提示错误AttributeError: type object 'str' has no attribute '_name_'
  4. 科学家研究:生女有撇步 多钙少碰香蕉
  5. 模板:Prufer序列
  6. jmeter 实际运行线程数达不到设定值_Jmeter技术知识-常用组件实战演示(2020年最新)...
  7. 面试工作笔记001---记录各种语言_各种技术经典面试问题
  8. 爱情测试MySQL存储_性能测试四十:Mysql存储过程造数据
  9. 搭建一个Vue项目(完整步骤)
  10. Python pip freeze获取安装的Python包并使用pip install -r还原到这些包环境(转载)
  11. CorelDraw x4无法打开的解决方法
  12. 光栅透过率计算 (Matlab)
  13. python 画图十大工具_Python画图工具matplotlib的使用(图形并茂)
  14. 如何理解t检验、t分布、t值?
  15. 2020COSMO时尚盛典即将闪耀启幕
  16. x5650服务器装系统,笔记本处理器天梯图,小猪教您最新笔记本显卡天梯图
  17. 奈式准则和香农定理(附例题)
  18. 哈尔滨工业大学计算机考研难吗,哈尔滨工业大学(专业学位)计算机技术考研难吗...
  19. 关于python使用hadoop(使用python操作hdfs)
  20. python优秀的项目经理_30来岁的项目经理,谁不是老出差啊?

热门文章

  1. 求1-1/2+1/3-1/4+...+1/99-1/100。
  2. win10下VMware15安装centos7详细步骤及遇到的问题
  3. xmu 1303.田教主的卡片
  4. javascript 判断 flash 插件是否安装
  5. 财务数据填报怎样做?用这个报表工具轻松搞定!_光点科技
  6. 学习笔记(34):Python 面试100讲(基于Python3.x)-用正则表达式分别提取电话号的区号、电话号和分机号...
  7. word怎么恢复默认样式
  8. 沟通的艺术与处世的智慧 读书笔记
  9. 第七章 基因注释与功能分类
  10. Redis数据库中Hash哈希的介绍,常用命令和应用场景