我从JSON文件中读取一些参数,并为每个参数发送请求。 ,当我真正的移动输出的任何元素我得到的错误:如何输出tRESTClient
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
statusCode cannot be resolved or is not a field
string cannot be resolved or is not a field
body cannot be resolved or is not a field
The method getHeaders() is undefined for the type Response
at pricing.pricing_0_1.Pricing.tFileInputJSON_1Process(Pricing.java:3334)
at pricing.pricing_0_1.Pricing.tREST_1Process(Pricing.java:1783)
at pricing.pricing_0_1.Pricing.runJobInTOS(Pricing.java:4634)
at pricing.pricing_0_1.Pricing.main(Pricing.java:4366)
中的StatusCode可变这篇文章并不适用于主要的问题在这个线程。 – 2016-09-07 19:01:22