Erreur
souma dhiab
-
souma dhiab -
souma dhiab -
Bonjour,
j'ai exécute un code mais il y a un erreur
" HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Content is not allowed in prolog.
root cause
org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Content is not allowed in prolog.
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1 logs.
GlassFish Server Open Source Edition 4.1"
qui peut m'aider svvvvvvp
j'ai exécute un code mais il y a un erreur
" HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Content is not allowed in prolog.
root cause
org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Content is not allowed in prolog.
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1 logs.
GlassFish Server Open Source Edition 4.1"
qui peut m'aider svvvvvvp
A voir également:
- Erreur
- Erreur 0x80070643 - Accueil - Windows
- Erreur 0x80070643 Windows 10 : comment résoudre le problème de la mise à jour KB5001716 - Accueil - Windows
- J'aime par erreur facebook notification - Forum Facebook
- Code erreur f3500-31 ✓ - Forum Bbox Bouygues
- Java code erreur 1603 ✓ - Forum Windows
<%
String owlFile = "C:\\Users\\SOUMA\\Documents\\NetBeansProjects\\contexte.owl";
// Creation d'un modele d'ontologie pour une ontologie OWL-DL avec un resonneur RDFS
Model m = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM_RDFS_INF);
// Lecture du fichier OWL. Le Namespace de notre ontologie doit etre specifié
FileManager.get().readModel( m, owlFile );
// Construction de la requete
String queryString = "select ?Age where {?Utilisateur <http://www.semanticweb.org/souma/ontologies/2015/3/untitled-ontology-15#hasAge> ?Age }";
Query query = QueryFactory.create(queryString) ;
// Create a single execution of this query, apply to a model
// which is wrapped up as a Dataset
QueryExecution qexec = QueryExecutionFactory.create(query, m) ;
// Execution de la requete
try {
// Pour l'instant nous nous limitons a des requetes de type SELECT
ResultSet rs = qexec.execSelect() ;
// Affichage des resultats
while ( rs.hasNext() )
{ QuerySolution rb = rs.nextSolution() ;
Resource z = (Resource) rb.getResource("Age");
String k=z.getLocalName().toString();
out.println("<option>"+ k+" </option>");
}
}
finally{
qexec.close() ;
}
%> </body>