springdoc-openapi-gradle-plugin icon indicating copy to clipboard operation
springdoc-openapi-gradle-plugin copied to clipboard

Application run failed: IllegalStateException - No Docker Compose file found

Open MMANZANERO opened this issue 7 months ago • 1 comments

The application fails to run after updating to version 1.9.0 of the org.springdoc.openapi-gradle-plugin. The error indicates that no Docker Compose file is found in the specified directory.

Error Log

2024-07-02T09:58:32.472Z ERROR 2938 --- [           main] o.s.boot.SpringApplication               : Application run failed

java.lang.IllegalStateException: No Docker Compose file found in directory '/home/runner/work/app/build/tmp/forkedSpringBootRun/.'

Previous Configuration (version 1.8.0):

openApi {
    groupedApiMappings.set([
            "http://localhost:8080/v3/api-docs.yaml/event1" : "event1.yaml",
            "http://localhost:8080/v3/api-docs.yaml/event2"   : "event2.yaml",
    ])
    customBootRun {
        args = ["--spring.profiles.active=local"]
    }
}

Environment:

Plugin version: 1.9.0 Previous working version: 1.8.0 Java version: 21 Gradle version: 8.5

MMANZANERO avatar Jul 08 '24 12:07 MMANZANERO