我想要使用JsonPath.Could从JSON对象中获取值,任何人都可以建议我需要合适的jar,因为据我所知,我正在为jsonpath使用的jar得到这个异常。java.io.IOException;
import org.json.JSONObject;
下面是我编写的代码,下面是在运行时抛出的异常
E
: defaultReader at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate: defaultReader
at com.jayway.jsonpath.spi.json.Json
at com.jayway.jsonpath.internal.path.PropertyPathToken.evaluate(PropertyPathToken.java:71) at com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:61)
at com.jayway.jsonpat
"Internal Server Error", "detail": "Handler dispatch failed; nested exception is java.lang.NoSuchFieldErrorc.t.d.n.w.rest.KafkaEmailEventResoruce : Exception in publishEmail() with cause = 'NULL' and exception = 'UNTYPED
当涉及到使用包含xpath的regex时,我遇到了jayway jsonpath的问题。) at com.jayway.jsonpath.internal.filter.FilterCompiler.compileat com.jayway.jsonpath.internal.path.PathCompiler.compile(PathC