xjlgod opened a new pull request, #680: URL: https://github.com/apache/incubator-seata-samples/pull/680
<!-- Please make sure you have read and understood the contributing guidelines --> ### Ⅰ. Describe what this PR did There are seata-spring-boot-starter rely conflicts in pom.xml in xa-sample. It makes issue as follow when using 2.1.0 server : ``` Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. Exception in thread "main" java.lang.NoSuchMethodError: ch.qos.logback.core.util.OptionHelper.isNotEmtpy([Ljava/lang/Object;)Z at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:100) at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:90) at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:63) at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:119) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:419) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383) at ch.qos.logback.classic.Logger.log(Logger.java:765) at org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:235) at org.springframework.boot.SpringApplication.reportFailure(SpringApplication.java:824) at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:788) at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) at org.apache.seata.SpringbootFeignSeataOrderApplication.main(SpringbootFeignSeataOrderApplication.java:30) ``` ### Ⅱ. Does this pull request fix one issue? <!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. --> ### Ⅲ. Why don't you add test cases (unit test/integration test)? ### Ⅳ. Describe how to verify it there is the result after solve this issue ``` 2024-05-20 21:22:37.484 INFO 18084 --- [nio-8084-exec-1] i.seata.tm.api.DefaultGlobalTransaction : Begin new global transaction [192.168.40.1:8091:5621015705905278977] 2024-05-20 21:22:37.486 INFO 18084 --- [nio-8084-exec-1] o.apache.seata.service.BusinessService : purchase begin ... xid: 192.168.40.1:8091:5621015705905278977 2024-05-20 21:22:37.729 INFO 18084 --- [nio-8084-exec-1] i.seata.tm.api.DefaultGlobalTransaction : transaction 192.168.40.1:8091:5621015705905278977 will be rollback 2024-05-20 21:22:37.760 INFO 18084 --- [nio-8084-exec-1] i.seata.tm.api.DefaultGlobalTransaction : transaction end, xid = 192.168.40.1:8091:5621015705905278977 2024-05-20 21:22:37.760 INFO 18084 --- [nio-8084-exec-1] i.seata.tm.api.DefaultGlobalTransaction : [192.168.40.1:8091:5621015705905278977] rollback status: Rollbacked ``` ### Ⅴ. Special notes for reviews -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org For additional commands, e-mail: dev-h...@seata.apache.org