medizininformatik-initiative / feasibility-backend

Backend of the feasibility-gui.
Apache License 2.0
2 stars 5 forks source link

Avoid multiple occurrences of org.json.JSONObject on the class path #241

Open jbellmann opened 7 months ago

jbellmann commented 7 months ago

While running some integration tests the following message appears in the logs:

Found multiple occurrences of org.json.JSONObject on the class path:

    jar:file:/Users/jbellmann/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class
    jar:file:/Users/jbellmann/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class

You may wish to exclude one of them to ensure predictable runtime behavior

This PR excludes com.vaadin.external.google:android-json from spring-boot-starter-test.