Just started learning TestNG ,Getting an error trying to run a simple testNG example | Selenium Forum
sirisha_gadde Posted on 30/12/2020

package testcases;

import org.testng.annotations.*;


public class SearchAndBuyPhone {

public void search() {
System.out.println("Searching for a Phone");




when run as testNG.test I get this error below ,wondering what is not right here 

The TestNG library is added 

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\siris\.p2\pool\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