Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: package org.openrdf.query.resultio.sparqljson does not exist #2

Open
turbomam opened this issue Apr 7, 2017 · 0 comments
Open

Comments

@turbomam
Copy link

turbomam commented Apr 7, 2017

I tried to build the resource-to-sparqlresult proxy, but got an error about importing org.openrdf.query.resultio.sparqljson.

Could this be a version error, due to the sesame->rdf4j name change?

I think I have some similar looking classes in my maven dependencies folder. (I'm not much of a developer and don't know much about maven)

$ ls ~/.m2/repository/org/openrdf/sesame/sesame-queryresultio-sparqljson/4.1.2/
_remote.repositories                                   sesame-queryresultio-sparqljson-4.1.2.jar.sha1         sesame-queryresultio-sparqljson-4.1.2.pom.sha1
sesame-queryresultio-sparqljson-4.1.2.jar              sesame-queryresultio-sparqljson-4.1.2.pom
sesame-queryresultio-sparqljson-4.1.2.jar.lastUpdated  sesame-queryresultio-sparqljson-4.1.2.pom.lastUpdated
$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building resource-to-sparqlresult 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ resource-to-sparqlresult ---
[INFO] Deleting /home/ubuntu/llprox/resource-to-sparqlresult/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ resource-to-sparqlresult ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ resource-to-sparqlresult ---
[INFO] Compiling 6 source files to /home/ubuntu/llprox/resource-to-sparqlresult/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/ubuntu/llprox/resource-to-sparqlresult/src/main/java/org/dvcama/lodview/SimpleGraph.java:[390,41] error: package org.openrdf.query.resultio.sparqljson does not exist
[ERROR] /home/ubuntu/llprox/resource-to-sparqlresult/src/main/java/org/dvcama/lodview/SimpleGraph.java:[390,83] error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.396 s
[INFO] Finished at: 2017-04-06T20:11:15+00:00
[INFO] Final Memory: 20M/58M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project resource-to-sparqlresult: Compilation failure: Compilation failure:
[ERROR] /home/ubuntu/llprox/resource-to-sparqlresult/src/main/java/org/dvcama/lodview/SimpleGraph.java:[390,41] error: package org.openrdf.query.resultio.sparqljson does not exist
[ERROR] /home/ubuntu/llprox/resource-to-sparqlresult/src/main/java/org/dvcama/lodview/SimpleGraph.java:[390,83] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
ubuntu@ip-10-157-95-242:~/llprox/resource-to-sparqlresult$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant