I am using these JAR versions, Please have a look if i am using the right versions.
I have attached the screenshot of JARs.
Thanks Ashish for the solution
You were right, i was missing 1 jar file which helped me solve 1 error
for the other error i.e. "cannot find symbol" I was missing the desired import.
but after resolving above 2, i got some irrelevant error, although after placing that file i got my build successful, but i am confused why that error came, error was:
Could not find file D:\Selenium\Softwares\Java_Projects\Mod_Cucumber\src\log4j.properties to copy.
I have not used this log4j in my current project, anyways after placing this file i could run the build successfully.
[quote:2b600ruf]Could not find file D:\Selenium\Softwares\Java_Projects\Mod_Cucumber\src\log4j.properties to copy.
I have not used this log4j in my current project, anyways after placing this file i could run the build successfully.
[/quote:2b600ruf]
you must have used log4j somewhere. delete the log4j jar files from your project and you will find be able to find where the log4j is used.