kstry / kstry-core

Kstry是可视化、流程编排、并发、模块化、组件化、业务隔离、微服务整合、服务化、领域驱动等相关框架,业务架构设计必备 项目主页:http://kstry.cn Kstry is visualization, process orchestration, concurrency, modularization, componentization, business isolation, microservice integration, servitization, domain-driven and other related frameworks, business architecture design must Project home page: http://kstry.cn
http://kstry.cn
Apache License 2.0
194 stars 34 forks source link

1.1.10 报 Cannot locate declared field class org.apache.tomcat.util.threads.TaskThread.threadLocals #4

Closed davisjiahao closed 9 months ago

davisjiahao commented 9 months ago

[WARN][2023-11-22T22:07:20.145+0800][cn.kstry.framework.core.engine.thread.hook.ThreadLocalSwitchHook-93] _undef||_msg=[K1040008] An exception occurred while getting ThreadLocal.||spanid=604e663fdbf34f3c879a2315c3635167||traceid=12fbe2d03c0311ee83b06b348766610e||role=2||mobile=00016113464||mid=100200086214||didiid=580542142205070||exception=java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.tomcat.util.threads.TaskThread.threadLocals

从tomcat的taskthread类里面反射获取threadlocals 属性报错了

kstry反射获取属性用的getDecalred这个函数,根本获取不到Tomcat threadtask的父类thrwad里面的threadlocal属性

而用 1.1.9是OK