Skip to content

spring-boot-starter-restclient + spring-boot-starter-test gives compliation error #46518

@anbusampath

Description

@anbusampath

When new spring-boot-starter-restclient used along with spring-boot-starter-test gives compilation error. If spring-boot-starter-test removed from the dependencies application works fine.

Sample with compilation error - https://github.com/anbusampath/2025-07-22-declarative-interface-clients-in-spring-boot-4

Sample without spring-boot-starter-test - https://github.com/anbusampath/2025-07-22-declarative-interface-clients-in-spring-boot-4/tree/without-spring-boot-starter-test

I guess exclusion from spring-boot-starter-test impacting the transtive dependency of spring-boot-starter-restclient.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: blockerAn issue that is blocking us from releasingtype: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions