更新时间:2021-10-23 01:53:58
我猜您是Windows用户,在Windows XP及更高版本中文件路径限制为8191.
I guess you are the windows user, there is a file path limit of 8191 in Windows XP and above.
http://support.microsoft.com/kb/830473/zh-CN
这是缩短文件路径的最简单方法,例如将项目文件夹更改为D:\,并引用您的项目路径,并始终使用ASCII字符作为文件夹名称. UTF-8字符使用2-3个字节. 或转移无用的依赖. 或更改为MAC平台. ;)
The simplest way this shorten the file path, like change the project folder into D:\, and refact your project path, and always use ASCII chars for the folder name. UTF-8 chars use 2-3 bytes. or move useless dependency. or change to MAC platform. ;)
原因是在编译步骤,有一个类似javac xxxx的命令,将所有依赖项的路径合并在一行中.
The reason is at the compile step, there is a command like javac xxxx, combine all dependences's path in one line.