Error in Maven Project
i am trying to build a My first Maven project i am getting this warning can someone please help
Build Path specifies execution environment JSE -1.5 .There are no JREs installed in the workspace that are strictly compatible with this environment
Are you copying the complete pom.xml?
I have copied part of Pom.xml and copied dependency from Apache website.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.qtpselenium</groupId> <artifactId>JunitProject2</artifactId> <version>0.0.1-SNAPSHOT</version>
<!-- https://mvnrepository.com/artifact/junit/junit --> <dependencies><!-- https://mvnrepository.com/artifact/junit/junit --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13-beta-1</version> <scope>test</scope> </dependency> </dependencies>
You need not to copy anything other than dependency unless specified in the video.
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings