i have created mavenized TestNG project. it is working fine in eclipse. but when i run TestSuite in Jenkins, i am seeing compiler error. i had to remove some overloaded methods. but now i am facing this error for non-overloaded method.
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /apps/jenkins/workspace/qa-tax-svc-automation/src/test/java/addressVerificationService/OverriddenAddressVerificationServiceTest.java:[62,33] error: method ExecuteGetCall in class OMSD_Util cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
/apps/jenkins/workspace/qa-tax-svc-automation/src/test/java/addressVerificationService/UnverifiedAddressVerificationServiceTest.java:[70,33] error: method ExecuteGetCall in class OMSD_Util cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
/apps/jenkins/workspace/qa-tax-svc-automation/src/test/java/pricingService/PricingServiceDataDrivenTest.java:[94,24] error: method CreateTaxServiceURI in class UriGenerator cannot be applied to given types; . . . .
thanks lker Aguayo. i changed java version on my local, but that didnt help. Finally in jenkins for 'Goals and OPtions' i gave value 'clean test -Dsuite_name=WS_Suite'.
previously i was only giving 'test -Dsuite_name=WS_Suite'.