Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Run As Spring Boot App does not ignore test classpath #264

@bernolanger

Description

@bernolanger

I have a Spring Boot Application that is built by Gradle / Buildship.

When the application is started by "Run As > Java Application" the classpath is computed without the test classes / resources / dependencies.

But when the application is started by "Run As > Spring Boot App" the classpath contains all classes / resources / dependencies. E.g. this results in launching the embedded test database instead of using the configured one. Because of this I can't use the useful Boot Dashboard.

Is this the expected behavior or is there something I can change to get it to work as I expect?

Resolved Buildship Issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions