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

tech2023-03-02  103

报错详情

[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) / 12

解决方案:

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

更改为

(建议使用) <fileSets> <fileSet> <directory>${basedir}/src/main/resources</directory> <outputDirectory>${file.separator}</outputDirectory> </fileSet> </fileSets> 1234567

或者

<fileSets> <fileSet> <directory>${basedir}/src/main/resources</directory> <outputDirectory>.</outputDirectory> </fileSet> </fileSets>
最新回复(0)