Really great work sarthak, Tried with so many other tutorials to build the cucumber POM.xml finally I found one where I can easily setup new cucumber POM.xml file , Im happy that I found your channel at least now
@SportsGyan_ Жыл бұрын
Hi, I am getting error on tools jar file line in pom.xml that it should not be hardcoded
@automationhubsarthak1186 Жыл бұрын
It is warning you can use ${JAVA_HOME}/lib/tools.jar but make sure you customise that path
@SportsGyan_ Жыл бұрын
@@automationhubsarthak1186 I have given full path under system path and I am using jdk 11.0.16 and my tool jar version is 1.7. No issue in this?
@automationhubsarthak1186 Жыл бұрын
@@SportsGyan_ right click on the jar 1.7 > Properties > drop-down select 11 SE
@SportsGyan_ Жыл бұрын
@@automationhubsarthak1186 not getting
@automationhubsarthak1186 Жыл бұрын
@@SportsGyan_ you will see JRE System library [JAVA SE1.7] in your Maven project. Right click on it. Properties option will show up. Click on Properties. Then in the Execution Environment dropdown select JAVA SE - 11(jre) and ApplynClose
@HRITHIKM-nw6rv Жыл бұрын
I'm finding problem in adding com.sun i.e i dont have tools.jar file in my c drive. My current jdk version is 18.0.1. Will you please help me sir
@automationhubsarthak1186 Жыл бұрын
if possible uninstall java 18 and move to 17 and if it is ok with you move to java 8, it is much more stable with Automation. Even Appium works best with java 8
@abhishekkunte45732 жыл бұрын
Sir can u please tell me which version of eclipse you used here?
@automationhubsarthak11862 жыл бұрын
it really does not matter to be honest. Eclipse has got nothing to do with this setup. But for your reference I guess June 19
@abhishekkunte45732 жыл бұрын
@@automationhubsarthak1186 Sir in jdk17 tools.jar file is not available in lib folder of java. So after adding cobertura and tools dependency missing artifact com.sun.jar error still exist in pom.xml. Also tools.jar path cannot be added in systemPath in tool dependency. So please tell how to resolve it
@automationhubsarthak11862 жыл бұрын
@@abhishekkunte4573 it can be resolved. The path is there but then I guess it is better you email me on automationhubsarthak@gmail.com and I will invite you in zoom tomorrow. And we will fix it.
@abhishekkunte45732 жыл бұрын
@@automationhubsarthak1186 done Sir
@HRITHIKM-nw6rv Жыл бұрын
@@abhishekkunte4573 Abhishek how did you solve tools.jar error
@mahendrareddy65692 жыл бұрын
while adding depedencies u copy tools jar show how to a do tools jar please there showing error in tools only
@automationhubsarthak11862 жыл бұрын
clearly explained. Check the Maven Playlist. You will understand better
@veerepallijhansi88122 жыл бұрын
What is the difference between dependucies of maven archetype 1.1 and 1.4
@automationhubsarthak1186 Жыл бұрын
basically 1.4 will give you more packages. Also the plugin management is better with 1.4
@geetsatyou6 ай бұрын
Hey Sarthak.. i am not able to create maven project. getting this error: Archetype repository not defined. Using the one from [org.apache.maven.archetypes:maven-archetype-quickstart:1.4] found in catalog remote;... could you please check and let me know what did i do wrong
@automationhubsarthak11865 ай бұрын
hope you have downloaded maven and configured in env variables. Then when you create the maven project, skip the archetype selection and use the artifact id maven-archetype-quickstart and select 1.4 in it and proceed. I hope you are using Java 17 at least...
@manuelsteele80302 жыл бұрын
Does this video setup demonstration still apply to Java 17 or higher? I had a pom.xml that was working fine until I upgraded to Java 17. It was working great on 1.8 jdk. Now, I have to hunt down updated pom setup videos to find one that works with Java 17 or higher.
@automationhubsarthak11862 жыл бұрын
yes it should work fine.
@abhishekkunte45732 жыл бұрын
@@automationhubsarthak1186 Sir i have eclipse version 2021-03 (4.19.0) and JDK 17. Its not working with it. Is there any solution for this version?
@automationhubsarthak11862 жыл бұрын
@@abhishekkunte4573 it should work but I suggest switching to Java 8 as it is the most stable with Automation
@abhishekkunte45732 жыл бұрын
@@automationhubsarthak1186 OK Sir, Eclipse version2021-03 is ok or this also needs to degrade?
@automationhubsarthak11862 жыл бұрын
@@abhishekkunte4573 should work fine
@CuteWorld6142 жыл бұрын
I m getting error in pom after adding dependencies
@automationhubsarthak11862 жыл бұрын
what is the error?
@jesinthanithya1191 Жыл бұрын
getting An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Result of processing steps. OK OK OK Public key not found for 8122282445186051625. OK while trying to install Natural