Only Unix-style line endings are allowed

最近在学一个框架 ,代码拉下来之后。

checkstyle 一直报这个错误  ,我实在摸不着头脑,想了很多办法,最后发现居然用git命令拉下来的代码有差异,直接在网页上下载zip压缩包 反而没有这个问题。

[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-qa-markers ---
[INFO] There are 2 errors reported by Checkstyle 7.6.1 with checkstyle/kapua.xml ruleset.
[ERROR] pom.xml:[1] (regexp) RegexpMultiline: Only Unix-style line endings are allowed

猜你喜欢

转载自blog.csdn.net/wangzhi291/article/details/121658544