Exception in thread “main” java.lang.NoSuchFieldError:Class org.testng.CommandLineArgs does not have member field ‘java.lang.Integer port’
I’m trying to execute a file in TestNG without any xml file, just a direct run as shown in youtube. But I’m getting the below error. can anyone help around