When running Spring boot tests with the countly java SDK on the classpath, I noticed the same warning as in this SO question,
about having multiple implementations of JSONObject on the classpath. To avoid that, we can exclude either the json.org dependency of countly, or the com.vaadin.external.google:android-json dependency of spring-boot-starter-test.
Anyway, the real issue is, that org.json is licenced under a non-free license with a silly "don't use for evil" clause, as explained in this answer or in the openjson Readme. You might want to consider replacing the dependency on org.json.