polarisGitHub commented on issue #34860:
URL: 
https://github.com/apache/shardingsphere/issues/34860#issuecomment-3644547795

   这个找到原因了。前置条件:jdk17,spring boot fat-jar启动,用fork join pool第一次调用。jdk17中fork 
join pool中tccl默认使用system class loader,而不是LaunchedURLClassLoade。而service 
loader加载时tccl使用system class loader是看不到spring boot中的业务类的,导致加载失败,并被缓存起来


-- 
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]

Reply via email to