linghengqian commented on issue #6736:
URL: 
https://github.com/apache/incubator-seata/issues/6736#issuecomment-2406501245

   > We are currently planning to remove all spring-web related dependencies 
and transition to using spring-core along with netty-http for implementation.
   
   - Perhaps completely removing the use of `spring-core` is a more reasonable 
direction. In https://github.com/apache/shardingsphere/pull/33179, I observed 
that `org.apache.seata:seata-all:2.1.0` is passing a lower version of 
`org.springframework:spring-jcl:5.3.27`, which results in the need for 
additional `org.springframework:spring-jcl:5.3.27` GraalVM Reachability 
Metadata when the downstream compiles the seata client to GraalVM Native Image. 
Spring's support for GraalVM Native Image always depends on 
`org.springframework.boot:spring-boot-maven-plugin:3.0.0` and higher versions, 
which is hard to say is a real way forward - GraalVM has never been truly tied 
to a web framework.
   ```shell
   org.graalvm.nativeimage.MissingReflectionRegistrationError: The program 
tried to reflectively access class
   
      org.apache.logging.log4j.spi.ExtendedLogger
   
    without it being registered for runtime reflection. Add 
org.apache.logging.log4j.spi.ExtendedLogger to the reflection metadata to solve 
this problem. See 
https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
 for help.
     [email protected]/java.lang.Class.forName(DynamicHub.java:1377)
     org.apache.commons.logging.LogAdapter.isPresent(LogAdapter.java:107)
     org.apache.commons.logging.LogAdapter.<clinit>(LogAdapter.java:51)
     org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to