简体   繁体   English

java.lang.VerifyError:常量池中的非法类型

[英]java.lang.VerifyError:Illegal type in constant pool

When sending and reading xml files through rest api post endpoint in Azure Spring Cloud App with less than 100 rows, the code works, but if one runs more than 100 rows xml file, Azure Spring Cloud throws the following error: java.lang.VerifyError: (class: ASMAccessorImpl_121123687416524427187737, method: getValue signature: (Ljava/lang/Object;Ljava/lang/Object;Lorg/mvel2/integration/VariableResolverFactory;)Ljava/lang/Object;) Illegal type in constant pool.在Azure Spring Cloud App中通过rest api post端点发送和读取少于100行的xml文件时,代码可以工作,但是如果运行超过100行的xml文件,Azure Spring Cloud会抛出以下错误:java.lang.VerifyError : (class: ASMAccessorImpl_121123687416524427187737, method: getValue signature: (Ljava/lang/Object;Ljava/lang/Object;Lorg/mvel2/integration/VariableResolverFactory;)Ljava/lang/Object;) 常量池中的非法类型。

What is wrong?怎么了? How to fix this?如何解决这个问题? The same code and xml files work locally with more than 100 rows.相同的代码和 xml 文件在本地使用超过 100 行。

This is now solved, it was probably caused by bytecode size of one of my methods exceeded the 64kb limit.现在解决了,这可能是由于我的一种方法的字节码大小超过了 64kb 的限制。 Causes of getting a java.lang.VerifyError 获取 java.lang.VerifyError 的原因

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM