Model Defmodel = Maker.createmodel ("Myontology");
In two sentences, you cannot create a model from Maker.createmodel;
Then wrote some debug debugging, one is the use of Java interface to access MySQL, test success, that the Java and MySQL connectivity between the right, then the problem appears on the Jena;
After updating Jena to version 2.6, find the problem solved.
Experience:
To do this research, found that the use of these open source software and APIs, the most likely problem is the version compatibility problem, previously encountered protege and Graphviz version compatibility problem, and once encountered this problem, often take a long time, Because the first suspects are often the ones who know little about themselves.
The above related content is to use Jena Ontology file into the MySQL database, hope you can have some harvest.
The above related content is to use Jena the ontology file into the MySQL database description, hope will bring you some help in this respect.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.