RuntimeException无法映射到响应,重新抛出到HTTP容器com.hp.hpl.jena.update.UpdateException

时间:2016-03-02 16:56:19

标签: response jena virtuoso

我有一个REST服务,用于将数据发送到三元组:

VirtGraph virtGraph = new VirtGraph ("jdbc:virtuoso://localhost:1111", "demo", "demo");
Model virtModel = new VirtModel(virtGraph);
VirtuosoUpdateRequest vur = VirtuosoUpdateFactory.create(str, virtGraph);
vur.exec();
virtGraph.close();

虽然存储了数据,但我得到的答案是:

com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
com.hp.hpl.jena.update.UpdateException: Convert results are FAILED.:
    at virtuoso.jena.driver.VirtuosoUpdateRequest.exec(VirtuosoUpdateRequest.java:72)

所需的所有库都在项目的Web文件夹中。有什么想法吗?

0 个答案:

没有答案