7 Replies Latest reply on Oct 22, 2014 12:07 PM by alwu-Oracle

    Error message to the launch of a SPARQL query well trained in Java

    2773504

      Hello, I am not if it is a compatibility problem between JENA ARQ and got the message that I sometimes not consistently (at least I can not reproduce !!!) so it is very difficult to correct at least to understand and find a solution? (Anyone have a suggestion or solution)

      Error message:

       

      --- exec-maven-plugin:1.2.1:exec (default-cli) @ MIDA ---

      Oct 13, 2014 21:01:21 PM ca.ireq.oracle12c.connect.OracleThin <init>

      INFO: Connection try ... : jdbc:oracle:thin:@liost:1521:LIOST with user *****

      Exception in thread "main" java.lang.NoSuchMethodError: com.hp.hpl.jena.sparql.algebra.optimize.TransformJoinStrategy: method <init>()V not found

      at oracle.spatial.rdf.client.jena.OptimizeSem.rewrite(OptimizeSem.java:124)

      at oracle.spatial.rdf.client.jena.OptimizeSem.optimize(OptimizeSem.java:91)

      at oracle.spatial.rdf.client.jena.QueryEngineSem.modifyOp(QueryEngineSem.java:195)

      at com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineBase.java:104)

      at com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase.java:97)

      at oracle.spatial.rdf.client.jena.QueryEngineSem$1.create(QueryEngineSem.java:211)

      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:426)

      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:400)

      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:408)

      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:135)

      at date.app.AppendLabel.query(AppendLabel.java:76)

      at date.app.AppendLabel.main(AppendLabel.java:50)

      ------------------------------------------------------------------------

      BUILD FAILURE

      ------------------------------------------------------------------------

      Total time: 32.564s

      Finished at: Fri Oct 13 21:01:45 EDT 2014

      Final Memory: 5M/123M

      ------------------------------------------------------------------------

       

      big thank you in advance.