我從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