两系统之间接口的调用,数据转为json格式返回结果为404?

一、路径不对:但是后来对比一下路径也没有问题    --排除

二、服务器波动:看此任务运行的时间跨度,如果时间很长,就有可能是运行时服务器不稳定、服务器波动或者是服务器停止运行

 

ERROR SystemJobExecServiceImpl:177 - error happens for system job
net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>404 Not Found</h1></center><hr><center>nginx/1.14.0</center></body></html>
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:365)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:972)
at net.sf.json.JSONObject._fromString(JSONObject.java:1201)
at net.sf.json.JSONObject.fromObject(JSONObject.java:165)
at net.sf.json.JSONObject.fromObject(JSONObject.java:134)

  

posted @ 2021-02-08 16:52  UTF-8-8  阅读(338)  评论(0)    收藏  举报