开发者社区 > 云原生 > 中间件 > 正文

请问一下以下哪个非法了?

问一下以下哪个非法了?: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.seata.spring.annotation.GlobalTransactionScanner]: Factory method 'globalTransactionScanner' threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ... 19 more Caused by: java.lang.ExceptionInInitializerError at io.seata.config.ConfigurationCache.proxy(ConfigurationCache.java:104) at io.seata.config.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:136) at io.seata.config.ConfigurationFactory.getInstance(ConfigurationFactory.java:94) at io.seata.spring.annotation.GlobalTransactionScanner. (GlobalTransactionScanner.java:105) at io.seata.spring.annotation.GlobalTransactionScanner. (GlobalTransactionScanner.java:162) at io.seata.spring.boot.autoconfigure.SeataAutoConfiguration.globalTransactionScanner(SeataAutoConfiguration.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ... 20 more Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor. (Unknown Source) at net.sf.cglib.core.DebuggingClassWriter. (DebuggingClassWriter.java:49) at net.sf.cglib.core.DefaultGeneratorStrategy.getClassVisitor(DefaultGeneratorStrategy.java:30) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:116) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer. (Enhancer.java:69) ... 31 more

展开
收起
哈喽!小陈 2022-06-28 12:46:15 483 0
1 条回答
写回答
取消 提交回答
  • 看起来感觉是是依赖冲突,检查cglib跟其他组件是不是存在冲突,比如asm。 此答案整理自钉钉群“3群-Seata 开源讨论群”

    2022-06-28 13:52:36
    赞同 展开评论 打赏
问答分类:
问答地址:

为企业提供高效、稳定、易扩展的中间件产品。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载