You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with spring-boot-starter-test when using it in a modular Java project (Java 9+). Specifically, the transitive dependency on jsonassert includes android-json, which provides an org.json package that conflicts with the org.json package in jsonassert.This issue results in compilation errors when using module-info.java.
Module System: Java 9+ with module-info.java
Since spring-boot-starter-test includes jsonassert as a transitive dependency, and jsonassert relies on android-json (which includes org.json), this leads to duplicate org.json packages in modular projects, which Java's module system does not allow.
The text was updated successfully, but these errors were encountered:
I'm encountering an issue with
spring-boot-starter-test
when using it in a modular Java project (Java 9+). Specifically, the transitive dependency on jsonassert includesandroid-json
, which provides anorg.json
package that conflicts with theorg.json
package injsonassert
.This issue results in compilation errors when usingmodule-info.java
.Issue Details
org.skyscreamer:jsonassert
→com.vaadin.external.google:android-json:0.0.20131108.vaadin1
module-info.java
Since
spring-boot-starter-test
includesjsonassert
as a transitive dependency, andjsonassert
relies onandroid-json
(which includesorg.json
), this leads to duplicateorg.json
packages in modular projects, which Java's module system does not allow.The text was updated successfully, but these errors were encountered: