Closed SamanthaBandini closed 6 years ago
I'm guessing that they are using a different version of the OWLAPI.
Try the following:
mvn dependency:tree -Dverbose
Thanks for the reply. As you said, the're using different owlapi versions; protégé components use owlapi 4 and openllet uses owlapi 5. I solved this using the release of Pellet reasoner compatible with owlapi 4 (https://github.com/ignazio1977/pellet).
I'm trying to use owl-api (v5), swrl-api and openllet in the same project, using NetBeans as IDE. There's no way to make them work together, importing one causes the other to stop "working". I think there is a problem with dependencies but I can't figure it out.
I have tried in different ways, such as:
Both method works, as I can see all classes of each package, the problem is that in both ways I get stuck with exceptions like those listed below.
Running this code:
Trying the test with Maven:
Trying the test with Gradle: With all jars listed above:
Without swrltab-2.0.5-jar-with-dependencies.jar:
I tried 'PART 1' and 'PART 2' separately in different projects and both worked.
Thanks in advance.