Sent from TypeApp<http://www.typeapp.com/r?b=13095> On May 27, 2018, at 12:07 PM, javed khan <javedbtk...@gmail.com<mailto:javedbtk...@gmail.com>> 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. 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() 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