Skip to content

Application run failed: IllegalStateException - No Docker Compose file found #150

Open
@MMANZANERO

Description

@MMANZANERO

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions