2 cherry312116 cherry312116 于 2014.11.12 15:02 提问

java代码借助jena实现Sparql查询,报出一下错误,有遇到过的么?

Exception in thread "main" HttpException: HttpException: 502 Bad Gateway: HttpException: 502 Bad Gateway
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:337)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:189)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:144)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:133)
at com.chen.juan.SparqlDBpedia.sparqlQuery(SparqlDBpedia.java:78)
at com.chen.juan.SparqlDBpedia.main(SparqlDBpedia.java:24)
Caused by: HttpException: 502 Bad Gateway
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:299)
... 5 more

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!