从连接到http服务器的eclipse创建一个sesame存储库

时间:2013-07-25 12:41:10

标签: java eclipse repository rdf sesame

我可以连接到localhost:8080/openrdf-sesame/并从芝麻控制台创建一个新的存储库。我正在使用Tomcat服务器一切都很好。我也可以连接到localhost:8080/openrdf-workbench/并显示/删除存储库

但是当我在浏览器中输入localhost:8080/openrdf-sesame/时,我收到了错误消息。为什么?所以我无法从Eclipse访问现有的存储库,只需将localhost:8080/openrdf-sesame/提供给HTTPRepository。我将rdf jar导入到项目中,所以没问题

我的java代码:

String sesameServer = "http://localhost:8080/openrdf-sesame";
String repositoryID = "1001";

Repository repo = new HTTPRepository(sesameServer, repositoryID);
repo.initialize();

存储库ID“1001”确实存在于存储库中。我可以在工作台上看到它。

日食表示数百万(!)行的错误类型:

...
15:18:51.843 [main] DEBUG o.a.commons.httpclient.HttpClient - Operating system version: 3.5.0-23-generic
...

0 个答案:

没有答案