Closed githubyong closed 1 year ago
You should run the build using the wrapper to ensure that the correct version of Gradle is used. You should also verify that your line ending settings are correct. IIRC, you need to configure Windows with core.autocrlf
set to true
.
Also, please note that 2.3.x is no longer supported. 2.7.x and main (3.0.x) are the only supported branches at this time.
I have the same problem, I used branch 2.3x, and I had execute ./gradlew :spring-boot-project:spring-boot-actuator-autoconfigure:build -x
, which prompted me to fail.
I tried to set git config --global core.autocrlf true
, but it still fails。
Directory 'D:\source-workspace\spring-boot-2.3x\spring-boot-project\spring-boot-actuator-autoconfigure\build\generated-snippets' specified for property '$3' does not exist.
core.autocrlf=true
You appear to have a different problem, @liangliplus. You have run the build with tests disabled. That will not work as the Actuator API documentation uses Spring REST Docs-based tests to produce some of its content.
springboot 2.3.x build failed( I had execute
./gradlew -p buildSrc format
):