JSON Parser -java.lang.NoSuchFieldError: defaultReader

前端 未结 4 463
南旧
南旧 2020-12-03 16:04

I am using a JSON parser to extract the value and I am using the following jar json-path-2.1.0, and I am getting the following error when I invoke the use case deployed as w

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 16:47

    I too was facing this issue, It turned out some other library was using json-smart's older version, and it was getting precedence over json-path's json-smart dependency. Removing the other jar solved the issue. Or you can also downgrade your json-path's version to appropriate version such that it support json-smart's older version.

提交回复
热议问题