I have written from a scratch a coded test compiled with Java 17, Java OpenSDk 1.3.0, JUnit 5.6. When I try to upload to TestProject site, I get the below error prompt:
As I understand from OpenSDK guide at GitHub - testproject-io/java-opensdk: TestProject Java OpenSDK we can compile with Java 11 or higher version. Any reason I still get this UnsupportedClassVersionError?
Hi @pohsoon.lee ,
If you are having trouble uploading Java Coded, test please make sure:
You have compiled your tests into a jar using Java 11 (any other version is not supported).
If you are getting a “code block missing” error, please add annotations to your test such as @test .
Make sure you don’t use the same test name twice.
If you have any other questions, please feel free to ask
Understood. Thanks for your information.