错误信息:
[arthas@6]$ trace com.qzcsbj.gift.controller.OrderController findByOrderNumber '#cost>1000' Affect(class count: 1 , method count: 1) cost in 230 ms, listenerId: 1 Enhance error! exception: java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the schema (add/remove fields) error happens when enhancing class: class redefinition failed: attempted to change the schema (add/remove fields), check arthas log: /root/logs/arthas/arthas.log
可能的原因:
1、jdk版本过低,升级打包环境jdk的版本,比如:jdk-8u331
2、探针冲突,多个探针不要同时使用