You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
since 3.13.19 , I can not package the snowflake-jdbc into my fat jar
SNOW-1008792: since 3.13.19 , I can not package the snowflake-jdbc into my fat jar
Jan 14, 2024
Hi @sunscorch
I tried to build using your pom.xml - indeed it causes the problem and it's because of Java 15 classes (or higher) from META-INF/versions:
META-INF/versions/15/org/bouncycastle/jcajce/provider/asymmetric/edec/SignatureSpi$Ed25519.class: java.lang.IllegalArgumentException: Unsupported class file major version 59
I found that to solve that you can use higher version of shade-maven-plugin e.g. 3.4.1 (as it is used in snowflake-jdbc)
It's not a bug in snowflake-jdbc
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.13.18 working, after that version , I fails
What operating system and processor architecture are you using?
I use window to complies this.
What version of Java are you using?
I use zulu-1.8 (1.9.0_392)
What did you do?
I this below pom to package snowflake jdbc in to a fat jar, it throw me the error Unsupported class file major version 59
After I remove it works fine,
if you change the snowflake-jdbc to 3.13.18, it works fine,
when we use 3.13.19 or later, we get Unsupported class file major version 59
The text was updated successfully, but these errors were encountered: