I am attempting to perform SPARQL update queries using fuseki-server.jar with the following code:

UpdateRequest ur = UpdateFactory.create();
UpdateProcessRemote r = new UpdateProcessRemote(ur,address);

However, it is failing with the following exception:

SEVERE: Servlet.service() for servlet [QualityAssessment] in context with path [/GTQuality] threw exception [Servlet execution threw an exception] with root cause java.lang.ClassNotFoundException: com.hp.hpl.jena.sparql.modify.UpdateProcessRemote

Initial reaction is that it is a classpath problem but fuseki-server.jar is both included in the build path and in WEB-INF/lib so I'm a bit stuck. The exact same code works perfectly as a standalone Java project.

asked 26 Nov '12, 09:08

CB86's gravatar image

accept rate: 0%

It looks like you may be running an old version of Fuseki. Please use the latest release.

(26 Nov '12, 10:49) AndyS ♦ AndyS's gravatar image

I'm running Fuseki 0.2.6 which (as far as I can see) is the latest version.

(27 Nov '12, 04:54) CB86 CB86's gravatar image

Last release was 0.2.5. If you built 0.2.6, check the build.

(27 Nov '12, 07:40) AndyS ♦ AndyS's gravatar image

If it works standalone, and not elsewhere, then it's a setup problem.

fuseki-server.jar for 0.2.5 does contain UpdateProcessRemote:

unzip -v fuseki-server.jar | grep UpdateProcessRemote.class ==>

1498  Defl:N      739  51% 2012-10-20 17:05 1517e336  com/hp/hpl/jena/sparql/modify/UpdateProcessRemote.class

Look for other (old) copies of ARQ.

permanent link

answered 27 Nov '12, 07:41

AndyS's gravatar image

AndyS ♦
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Nov '12, 09:08

question was seen: 1,432 times

last updated: 27 Nov '12, 12:35