Skip to content

org.springframework.boot/spring-boot-starter-test Does not work with a module path #40949

@bowbahdoe

Description

@bowbahdoe

The org.json package is split between jsonassert and android.json.

I am validating this with a tool I wrote

jresolve --output-directory libs \
    pkg:maven/org.springframework.boot/spring-boot-starter-web@3.3.0
    pkg:maven/org.springframework.boot/spring-boot-starter-test@3.3.0
java --module-path libs --add-modules spring.boot.test
java --module-path libs --add-modules spring.boot.test
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules jsonassert and android.json export package org.json to module spring.boot.starter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions