api-layer
api-layer copied to clipboard
Multiple ocurrences of JSONObject in classpath
Describe the bug Getting this while running acceptance tests:
Found multiple occurrences of org.json.JSONObject on the class path:
jar:file:/Users/user/.gradle/caches/modules-2/files-2.1/com.vaadin.external.google/android-json/0.0.20131108.vaadin1/fa26d351fe62a6a17f5cda1287c1c6110dec413f/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class
jar:file:/Users/user/.gradle/caches/modules-2/files-2.1/org.json/json/20230227/7a0d4aca76513d8ce81f9b044ce8126b84809ad8/json-20230227.jar!/org/json/JSONObject.class
Looks like this issue is specific to visual studio, this does not occur in IntelliJ IDE.
Those libraries are added as part of spring boot dependencies and not specific to acceptance tests. Also, these libraries are part of different dependency tree structure.