Has anybody successfully run the TestNG with >=Java 9? I tried and it failed. I also had no luck finding any helpful information from Google search.

This is the error I got,

Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for \Eclipse\2020-12-R-JDK11\plugins\com.beust.jcommander_1.78.0.jar Caused by: java.lang.IllegalArgumentException: com.beust.jcommander.1.78.0: Invalid module name: '1' is not a Java identifier

enter image description here

Build Path enter image description here

Compiler Config enter image description here

  • I am using Java 11 and Test ng and works without issues.And Usualy people have .xml file for runing test NG , I do not see yours. – Gaj Julije Mar 24 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.