Skip to content

java.lang.UnsupportedClassVersionError: org/simpleflatmapper/util/CheckedConsumer has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 #673

@arnzel

Description

@arnzel

Hi , i have a strange error currently. When running some tests for a software which has a depnedency to simpleflat mapper jdbc (Version 6.7.0) i get this error

"java.lang.UnsupportedClassVersionError: org/simpleflatmapper/util/CheckedConsumer has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0"

I use Intellij and set

  • Project SDK to Java 1.8.0_151
  • Project Language Level to Java 8
  • Target Byte Code Version to Level 8

So i wonder why this file is compiled with Java 9.

a few weeks ago i run the same version of the software with an olde rIntellij version and everything was fine. Also on gitlab ci this error does not happen.

Has anyone a clue what happened ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions