IDEA: Springboot 项目 install报错:_you may wish to exclude one of them to ensure pre

231 阅读1分钟
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

解决方法:

在pom种加入:com.vaadin.external.google依赖忽略即可

<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>


## 一线互联网大厂Java核心面试题库

![image](https://p6-xtjj-sign.byteimg.com/tos-cn-i-73owjymdk6/bd9b0d0b62fe41d7af48de5557f08e1f~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAg55So5oi3MTI0MDMyMTU2Mzk2:q75.awebp?rk3s=f64ab15b&x-expires=1771487008&x-signature=uFObdQidetPE2%2BFZ%2BsPxU59R9UA%3D)

正逢面试跳槽季,给大家整理了大厂问到的一些面试真题,由于文章长度限制,只给大家展示了部分题目,更多Java基础、异常、集合、并发编程、JVM、Spring全家桶、MyBatis、Redis、数据库、中间件MQ、Dubbo、Linux、Tomcat、ZooKeeper、Netty等等已整理上传,感兴趣的朋友可以看看支持一波!

**相关阅读docs.qq.com/doc/DSmxTbFJ1cmN1R2dB**