On 27/05/18 17:07, javed khan wrote:
I want to replace Jena 2 with Jena 3. When I import it in netbeans, I
include "lib" folder in classpath, lib-src folder in Sources tab but what
to include as Javadoc because there is no doc folder installed with Jena 3
version.
https://jena.apache.org/documentation/migrate_jena2_jena3.html
I installed Jena 3 and imported in the project but still give error
Uncompatible source code - package com.hp.hpl.jena.ontology does not exist
However, it does not show the previous error of as(Resource() and
asLiteral()
Because the code does not compile
On Sun, May 27, 2018 at 4:56 PM, Andy Seaborne <a...@apache.org> wrote:
No data.
On 27/05/18 15:39, javed khan wrote:
String str2=subj.asResource().getLocalName(); //HERE THE
ERROR IS MENTIONED
The code does not match the report.
You said the error was "Content is not allowed in prolog." and that line
does not cause that.
and "file:///C:/Users/Utente/Downloads/LAPTOP/getset/" is
not "E://ML.owl"
import com.hp.hpl.jena.query
Old Jena, per Jena3. Upgrade.
Andy