再windows环境下,编译5.1.0源码,提示文件名无效咋解决啊?

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:jar (attach-javadocs) on project shardingsphere-cluster-mode-repository-zookeeper-curator: MavenReportException: Error while generating Javadoc: Unable to execute javadoc command: Error while executing process.: Cannot run program “cmd.exe” (in directory “D:\download\apache-shardingsphere\shardingsphere-mode\shardingsphere-mode-type\shardingsphere-cluster-mode\shardingsphere-cluster-mode-repository\shardingsphere-cluster-mode-repository-provider\shardingsphere-cluster-mode-repository-zookeeper-curator\target\apidocs”): CreateProcess error=267, 目录名称无效。 → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation

是目录名称过长导致的问题吗? 看看这个 FAQ 是否有帮助呢:
https://shardingsphere.apache.org/document/current/en/reference/faq/#other-in-windows-environmentwhen-cloning-shardingsphere-source-code-through-git-why-prompt-filename-too-long-and-how-to-solve-it

看了一下,好像不是这个问题。 boss说让用docker部署,我试试docker看。之前一直用的是二进制包跑的。

OK,Docker 方便的

京ICP备2021015875号