unable to add stackmap attributes. Unsupported class file major version 61
After updating my Java version to Java 17 I am getting this issue initially I thought the JDK version on my IDE was not set, So I made sure the JDK version and all the rest things are in Java 17.