Unsupported class file major version 55 exception in Java

Problem

Given the following Exception:

java.lang.IllegalArgumentException: Unsupported class file major version 55

Why is this Exception thrown?

Solution

This exception is thrown because you are using classes compiled with Java 11 along with a library that doesn't support Java 11 yet.