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
Describe the bug
When running Spring REST tests the following message is seen:
[main] test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer WARN -
Found multiple occurrences of org.json.JSONObject on the class path:
jar:file:/home/runner/.m2/repository/org/json/json/20211205/json-20211205.jar!/org/json/JSONObject.class
jar:file:/home/runner/.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 is only seen when testing. As explained in the message, the duplicate should be excluded 'to ensure predictable' behaviour in production.
To Reproduce
Run mvn clean install -Pcoverage -pl :spring-rest on the 2.0.0 release.
Expected behavior
Message above not seen.
The text was updated successfully, but these errors were encountered:
…on the class path (#2969)
* Exclude dependency which adds duplicate org.json.JSONObject to the class path
* Improve demo profile to run the demo always
Describe the bug
When running Spring REST tests the following message is seen:
This is only seen when testing. As explained in the message, the duplicate should be excluded 'to ensure predictable' behaviour in production.
To Reproduce
Run
mvn clean install -Pcoverage -pl :spring-rest
on the 2.0.0 release.Expected behavior
Message above not seen.
The text was updated successfully, but these errors were encountered: