Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误OS=Windows,并且程序集描述符包含*nix特定的根相对引用(以斜杠开始)/_Windows_Maven_Maven Assembly Plugin - Fatal编程技术网

错误OS=Windows,并且程序集描述符包含*nix特定的根相对引用(以斜杠开始)/

错误OS=Windows,并且程序集描述符包含*nix特定的根相对引用(以斜杠开始)/,windows,maven,maven-assembly-plugin,Windows,Maven,Maven Assembly Plugin,我使用maven assembly plugin v2.5.3并得到以下错误 [INFO] Reading assembly descriptor: src/main/assembly/distributive.zip.xml [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / 但是构建是成功的。这个错误意味

我使用maven assembly plugin v2.5.3并得到以下错误

[INFO] Reading assembly descriptor: src/main/assembly/distributive.zip.xml
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /
但是构建是成功的。这个错误意味着什么


我在中发现有人提到它。

这可能是因为类似Linux的


${basedir}/src/main/resources
/

指定空的
或尝试

防止该警告的最简单解决方案是:


src/main/resources
或者另一种解决方案是:


src/main/resources
./

它表明有些东西应该被修复。

嗯,看起来它仍然没有被修复。是的,不管怎样,它仍然没有被修复。