Skip to content

Cannot start with mvn spring-boot:run command #4

@alanbarboza

Description

@alanbarboza

We cannot run the application with command mvn spring-boot:run

The command throws the following error

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.2.RELEASE:run (default-cli) on project spring-boot-multi-module: Unable to find a suitable main class, please add a 'mainClass' property -> [Help 1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions