@@ -68,11 +68,15 @@ subprojects {
6868 implementation (' org.springframework.boot:spring-boot-starter-data-jpa' ){
6969 exclude group : ' ch.qos.logback' , module : ' logback-classic'
7070 exclude group : ' ch.qos.logback' , module : ' logback-core'
71+ exclude group :' org.springframework' , module :' spring-context'
7172 }
73+
7274 implementation (' org.springframework.boot:spring-boot-starter-web' ){
7375 exclude group :' org.springframework.boot' , module :' spring-boot-starter-tomcat'
7476 exclude group :' org.apache.tomcat.embed' , module :' tomcat-embed-core'
77+ exclude group :' org.springframework' , module :' spring-context'
7578 }
79+
7680 // 修正上方排除的 org.apache.tomcat.embed:tomcat-embed-core
7781 implementation ' org.apache.tomcat.embed:tomcat-embed-core:11.0.7'
7882 // 修正上方排除的 ch.qos.logback:logback-classic
@@ -182,7 +186,14 @@ project(':dgrv4_Gateway_serv'){
182186 implementation ' com.esotericsoftware:kryo:5.4.0'
183187
184188 // websocket
185- implementation ' org.springframework.boot:spring-boot-starter-websocket'
189+ implementation (' org.springframework.boot:spring-boot-starter-websocket' ){
190+ exclude group :' org.springframework' , module :' spring-context'
191+ }
192+
193+ // Correct the above exclusions, group:'org.springframework', module:'spring-context'
194+ implementation ' org.springframework:spring-context:6.2.7'
195+
196+
186197 implementation ' io.undertow:undertow-core:2.3.17.Final'
187198 implementation ' io.undertow:undertow-websockets-jsr:2.3.17.Final'
188199
0 commit comments