Remove extra occurrences of org.json.JSONObject on the class path
See original GitHub issueFrom the build:
Found multiple occurrences of org.json.JSONObject on the class path:
jar:file:/Users/trisberg/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class
jar:file:/Users/trisberg/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class
You may wish to exclude one of them to ensure predictable runtime behaviour
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Maven + Spring Boot: Found multiple occurrences of org.json ...
How can I fix it? Found multiple occurrences of org.json.JSONObject on the class path: jar ...
Read more >org.json.JSONObject.remove java code examples - Tabnine
Construct an empty JSONObject. ... Get the string associated with a key. ... Put a key/boolean pair in the JSONObject. ... Get the...
Read more >Multiple jar occurrences - How to exclude a provided Vaadin ...
I've checked and the JSON jar that ships Vaadin contains less classes than I need, so I would like to exclude that, in...
Read more >How to Remove Special Characters from String in Java
How to Remove Special Characters from String in Java. A character which is not an alphabet or numeric character is called a special...
Read more >“How-to” Guides - Spring
There is more than one way to register additional customizations: ... YAML file is parsed to a Java Map<String,Object> (like a JSON object), ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
edit pom.xml exclude one of them
you can user
rm -rf /Users/trisberg/.m2/repository/com/vaadin/external/google/android-json/*,This method can be solved.