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 assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /

解决方案:

OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference 错误_第1张图片


    
        ${basedir}/src/main/resources
        /
    

更改为

(建议使用)

    
        ${basedir}/src/main/resources
        ${file.separator}
    

或者


    
        ${basedir}/src/main/resources
        .
    

你可能感兴趣的:(OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference 错误)