maven94% confidence\u2191 20
UnsupportedClassVersionError
Full error message
UnsupportedClassVersionError: Foo has been compiled by a more recent version of the Java Runtime
Solution
Class file compiled for a newer JDK than the runtime. 1. Upgrade your JRE/JDK to match the class file version (55 = Java 11, 61 = 17, 65 = 21). 2. Or recompile with `--release <N>` targeting the runtime version. 3. In Maven: `<maven.compiler.release>17</maven.compiler.release>`.
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/befb18ceb716fede1374d98eb0df6b7aedd000fd31eb6ba6ba57913421b87b0chash \u00b7 befb18ceb716fede1374d98eb0df6b7aedd000fd31eb6ba6ba57913421b87b0c