Found multiple occurrences of org.json.JSONObject on the class path:
jar:file:/C:/Users/Administrator/.m2/repository/org/json/json/20160810/json-20160810.jar!/org/json/JSONObject.class
jar:file:/C:/Users/Administrator/.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
Solution:
Add to pomz: com.vaadin.external.google dependency ignore can be
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
<exclusion>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
</exclusion>
</exclusions>
</dependency>
Read More:
- How to Solve SpringBoot MongoDB MongoAutoConfiguration Startup Error
- How to Solve Project Upgrade to flutter2.5.0 Error
- How to Solve Springboot Error: Failed to convert value of type
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- IDEA: How to Solve spark source code Modified Error
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘
- [app] install and compile libimobililedevice, How to solve the error
- How to Solve elasticSearch8.1.2 Install Error in Win10
- How to Solve ruby rails Install Error [Windows]
- How to Solve elasticsearch and logstash Install Error
- How to Solve jmeter Install Error (Three Common Errors)
- How to Solve Brew install golangci-lint Error
- VScode: How to Solve golong plug-in install Error
- R language: How to Solve DMwR Install Error
- How to Solve elk7.7.1 logstash Install Error
- How to Solve install dm.xmlsec.binding Error
- [Solved] SpringBoot Project Start Error: No bean named ‘org.springframework.context.xxxxx.importRegistry‘ available
- How to Solve Excel Error Log 0: Install Error
- How to Solve Error: Failed to load ApplicationContext
- How to Solve Application failed to start error