Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
marcelomachado opened this issue Apr 27, 2021 · 2 comments
Closed

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

marcelomachado opened this issue Apr 27, 2021 · 2 comments

Comments

@marcelomachado
Copy link

marcelomachado commented Apr 27, 2021

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
Copy link
Owner

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
Copy link
Author

@Galigator Thank you.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants