Wrong Class file

#1

I have been working with our module without failure for months but recently I have gotten this error when trying to ‘mvn package’ the module.
I am using intellij and have been since the start.

0 Likes

#2

Looks like you’re developing for Ignition 8 but using JDK 8 instead of JDK 11?

0 Likes

#3

Ok, so If i change to JDK11 it should work ?

0 Likes

#4

Do I need to update maven aswell for this because this is what happened.

0 Likes

#5

Yeah you need JDK11.

Upgrading Maven is worth a shot, not sure what that error is about.

0 Likes

#6

Solution to this issue was to update JDK to 11 or higher.
This gets rid of the 55 52 wrong class file error.

The next issue was fixed by upgrading maven to the latest version.

0 Likes