Skip to content

jdk11 JAR shows up even with <classifier>jdk8</classifier> #103

@pcurrivan

Description

@pcurrivan

I'm using JDK8 and I have the classifier tags in my pom file.

I got this error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: de/bytefish/pgbulkinsert/mapping/AbstractMapping has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

In my target folder I found the two jdk8 jars (core and rowwriter) as well as a jdk11 core jar. Deleting the jdk11 jar (pgbulkinsert-core-7.0.1.jar) seems to make things work properly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions