Skip to content

2.3.x build failed "spring-boot-autoconfigure:checkFormatMain" #33750

@githubyong

Description

@githubyong

springboot 2.3.x build failed( I had execute ./gradlew -p buildSrc format):

$ gradle  build -x test
> Task :spring-boot-project:spring-boot-actuator-autoconfigure:asciidoctor FAILED
> Task :spring-boot-project:spring-boot-actuator:checkFormatMain FAILED
> Task :spring-boot-project:spring-boot-autoconfigure:checkFormatMain FAILED

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':spring-boot-project:spring-boot-actuator-autoconfigure:asciidoctor' (type 'AsciidoctorTask').
> Directory 'C:\GIT\learn\spring-boot\spring-boot-project\spring-boot-actuator-autoconfigure\build\generated-snippets' specified for property '$3' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-boot-project:spring-boot-actuator:checkFormatMain'.
> Formatting violations found in the following files:
   * src\main\java\org\springframework\boot\actuate\amqp\package-info.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions