我是靠谱客的博主 可爱帽子,这篇文章主要介绍k8s中使用arthas:Enhance error! exception: java.lang.UnsupportedOperationException: class redefinition f...,现在分享给大家,希望可以做个参考。
错误信息:
[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、探针冲突,多个探针不要同时使用

最后
以上就是可爱帽子最近收集整理的关于k8s中使用arthas:Enhance error! exception: java.lang.UnsupportedOperationException: class redefinition f...的全部内容,更多相关k8s中使用arthas:Enhance内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复