Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seata Client mixes multiple Spring components of different versions and causes dependency conflicts #7045

Closed
1 task done
linghengqian opened this issue Dec 3, 2024 · 0 comments · Fixed by #7046
Closed
1 task done

Comments

@linghengqian
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

  • Seata Client mixes multiple Spring components of different versions and causes dependency conflicts.

Ⅱ. Describe what happened

  • Seata Client mixes multiple Spring components of different versions and causes dependency conflicts. View from the ShardingSphere side.
  • image

Ⅲ. Describe what you expected to happen

  • Not sure, is mixing different versions of Spring components a requirement for Seata Server?

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  • Execute the following command on Ubuntu 22.04.4 with SDKMAN!,
sdk install java 22.0.2-graalce
sdk use java 22.0.2-graalce
sdk install maven 3.9.9
sdk use maven 3.9.9
mvn clean dependency:get -Dartifact=org.apache.seata:seata-all:2.2.0
mvn -f ~/.m2/repository/org/apache/seata/seata-all/2.2.0/seata-all-2.2.0.pom dependency:tree | grep -v ':provided' | grep -v ':runtime'
  • The result is,
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------------< org.apache.seata:seata-all >---------------------
[INFO] Building Seata All-in-one 2.2.0 2.2.0
[INFO]   from seata-all-2.2.0.pom
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] 2 problems were encountered while building the effective model for org.apache.yetus:audience-annotations:jar:0.5.0 during dependency collection step for project (use -X to see details)
[INFO] 
[INFO] --- dependency:3.7.0:tree (default-cli) @ seata-all ---
[INFO] org.apache.seata:seata-all:jar:2.2.0
[INFO] +- org.springframework:spring-context:jar:5.3.39:compile
[INFO] |  \- org.springframework:spring-expression:jar:5.3.39:compile
[INFO] +- org.springframework:spring-core:jar:5.3.39:compile
[INFO] |  \- org.springframework:spring-jcl:jar:5.3.39:compile
[INFO] +- org.springframework:spring-beans:jar:5.3.39:compile
[INFO] +- org.springframework:spring-aop:jar:5.3.39:compile
[INFO] +- org.springframework:spring-webmvc:jar:5.3.26:compile
[INFO] |  \- org.springframework:spring-web:jar:5.3.26:compile
[INFO] +- io.netty:netty-all:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-buffer:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-dns:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-haproxy:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-http:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-http2:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-memcache:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-mqtt:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-redis:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-smtp:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-socks:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-stomp:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-codec-xml:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-common:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-handler:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-native-unix-common:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-handler-proxy:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-handler-ssl-ocsp:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-resolver:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-resolver-dns:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-rxtx:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-sctp:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-udt:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-classes-epoll:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-transport-classes-kqueue:jar:4.1.101.Final:compile
[INFO] |  +- io.netty:netty-resolver-dns-classes-macos:jar:4.1.101.Final:compile
[INFO] +- org.antlr:antlr4:jar:4.8:compile
[INFO] |  +- org.antlr:antlr4-runtime:jar:4.8:compile
[INFO] |  +- org.antlr:antlr-runtime:jar:3.5.2:compile
[INFO] |  +- org.antlr:ST4:jar:4.3:compile
[INFO] |  +- org.abego.treelayout:org.abego.treelayout.core:jar:1.0.3:compile
[INFO] |  +- org.glassfish:javax.json:jar:1.0.4:compile
[INFO] |  \- com.ibm.icu:icu4j:jar:61.1:compile
[INFO] +- com.alibaba:fastjson:jar:1.2.83:compile
[INFO] +- com.alibaba:druid:jar:1.2.20:compile
[INFO] +- com.typesafe:config:jar:1.2.1:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- org.apache.commons:commons-pool2:jar:2.11.1:compile
[INFO] +- commons-pool:commons-pool:jar:1.6:compile
[INFO] +- org.apache.dubbo.extensions:dubbo-filter-seata:jar:1.0.2:compile
[INFO] +- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  \- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.google.guava:guava:jar:32.1.3-jre:compile
[INFO] |  +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  +- org.checkerframework:checker-qual:jar:3.37.0:compile
[INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.21.1:compile
[INFO] |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] +- com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile
[INFO] \- net.bytebuddy:byte-buddy:jar:1.14.15:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.672 s
[INFO] Finished at: 2024-12-03T19:21:44+08:00
[INFO] ------------------------------------------------------------------------

Minimal yet complete reproducer code (or URL to code):

  • Maybe not.

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version(e.g. java -version):
openjdk version "23" 2024-09-17
OpenJDK Runtime Environment (build 23+37-2369)
OpenJDK 64-Bit Server VM (build 23+37-2369, mixed mode, sharing)
  • Seata client/server version: 2.2.0
  • Database version: Maybe not.
  • OS(e.g. uname -a): Linux DESKTOP-2OCN434 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • Others: Maybe not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant