Galigator / openllet

Openllet is an OWL 2 reasoner in Java, build on top of Pellet.
https://www.w3.org/TR/owl2-primer/
Other
100 stars 26 forks source link

class file has wrong version 54.0, should be 52.0 #58

Closed marcelomachado closed 3 years ago

marcelomachado commented 3 years ago

I am trying to use the OpenlletReasonerFactory from version 2.6.5 as you can see in maven dependency below:

<dependency>
            <groupId>com.github.galigator.openllet</groupId>
            <artifactId>openllet-owlapi</artifactId>
            <version>2.6.5</version>
 </dependency>

However, when I try to build my project with IntelliJ the error class file has wrong version 54.0, should be 52.0 appears. I am using Java 8:

Screen Shot 2021-04-27 at 13 34 56 Screen Shot 2021-04-27 at 13 35 55 Screen Shot 2021-04-27 at 13 40 50

Do I really need to update my Java version? What version of Openllet works with Java 8?

Galigator commented 3 years ago

The version 2.6.5 is build for java 11. If you require the deprecated version java 8 you should use the 2.6.4 Upgrade from java 8 to java 11 is the main change between 2.6.4 and 2.6.5

marcelomachado commented 3 years ago

@Galigator Thank you.

Perhaps it would be interesting to have a note about this in README because it indicates java 8 as a requirement.