Open yuluo-yx opened 1 year ago
use 1.6.2
use 1.6.2
?
You should be talking about version 1.6.1, right? I switched to the new version and still has problems starting
If you are using the client, then 1.6.1 is no problem. If you want to modify the server to support springboot3, then you should complete the support for springboot3 by yourself or wait for community support. In addition, jdk17 itself is already supported on 1.6.
Are you talking about the client way to download a zip archive from 'https://github.com/seata/seata/releases/tag/v1.6.1'? Does starting the Spring Boot project take the form of server-side startup?
The release note refers to the springboot3 support on the client side, not the server side, because the server side does not involve the user application level, and does not require users to actively modify the code on the server side, so we do not support springboot3 on the server side. Because this is not the focus of community work, nor can it improve the performance of seata-server, because seata-server only uses springboot at the console level
Allow me to summarize what you said, are you saying that seata does not support starting seata services in the form of spring boot3 services, starting seata clients locally? If I want to start as a Spring Boot service, I need to adapt it myself or wait for community support.
seata client side supports springboot3, and the seata-server does not support springboot3, because users do not need to integrate seata server in their applications
Thank you for your answer!
If you adapt Seata-Server to Spring-Boot3, the community will accept it, and you are welcome to submit a PR to support, if you want to wait until the main developer support of the community, then the priority is lower
If you adapt Seata-Server to Spring-Boot3, the community will accept it, and you are welcome to submit a PR to support, if you want to wait until the main developer support of the community, then the priority is lower
If you do, you will need to upgrade the Spring Boot and Spring Framework versions. This is a big change for project.
Yes, so on Seata-Server, its priority is not high, we are currently focusing on the extension and optimization of the capabilities of core transactions
ok! I'll finish it, and if seata-server starts normally after the upgrade is complete, it will prove successful, right?
You have to try to access port 7091 and verify that the relevant functions of the console are normal
You have to try to access port 7091 and verify that the relevant functions of the console are normal
ok
必须尝试访问7091端口,验证控制台相关功能是否正常
please see #5263 Other errors I fixed locally
Now, my local tests are successful. Something went wrong in Github's action. Because I'm using jdk17 locally, the mvn command runs normally. But the JDK version given to GitHub is JDK8, so the run failed! There is a comparison relationship about the JDK version of the class file, please see the picture:
I see, because spring-boot3 must be built on top of jdk17, which requires the ci to be separated into client and server, and the community requirements for seata-server is that it must support jdk8, but can run on jdk17, if developed entirely based on spring-boot3 will limit seata-server server support jdk version
我明白了,因为spring-boot3必须建立在jdk17之上,这就要求ci要分client和server,而社区对seata-server的要求是必须支持jdk8,但是开发的话可以跑在jdk17上完全基于spring-boot3会限制seata-server服务器支持jdk版本
Yeah, that's what's going on.
This issue will continue to be discussed in the community, as to when the seata-server will be developed based on springboot3 will depend on the amount of user demand
这个问题会在社区继续讨论,至于什么时候基于springboot3开发seata-server取决于用户需求量
ok. If possible, my suggestion is to separate the Seata-serve module from the seata project.
Ⅰ. Issue Description
version:
JDK:17 spring-boot:3.0.2 seata-server:1.5.0
Ⅱ. Describe what happened
I added the jvm parameter:
I--add-opens java.base/java.lang=ALL-UNNAMED
A new exception has occurred:Ⅲ. Describe what you expected to happen
The seata service starts normally
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Please see: https://github.com/yuluo-yx/seata-demo.git