本人是克隆了项目本地构建启动遇到无法build成功的问题,虽然jar生成了,但是最后是失败,主要原因如下
1:> Task :checkstyleMain
[ant:checkstyle] [ERROR] E:\sage\sage-halo\src\main\java\run\halo\app\handler\migrate\support\wordpress\Item.java:6:8: Unused import - run.halo.app.model.entity.BasePost. [UnusedImports]
Task :checkstyleMain FAILED
2:
- What went wrong:
Execution failed for task ':checkstyleMain'.
Checkstyle rule violations were found. See the report at: file:///E:/sage/sage-halo/build/reports/checkstyle/main.html
Checkstyle files with violations: 1
Checkstyle violations by severity: [error:1]
3:
BUILD FAILED in 7s
5 actionable tasks: 3 executed, 2 up-to-date
Checkstyle rule violations were found. See the report at: file:///E:/sage/sage-halo/build/reports/checkstyle/main.html
Checkstyle files with violations: 1
Checkstyle violations by severity: [error:1]
请大家帮忙看看!谢谢各位了!