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

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

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

CB86
1155
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 ♦
13.3k37
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×1,276
×597
×58
×47

question asked: 26 Nov '12, 09:08

question was seen: 992 times

last updated: 27 Nov '12, 12:35