I am running a Selenium Webdriver test for automation test. I am running test on Windows 10.
My pom file is -:
<modelVersion>4.0.0</modelVersion>
<groupId>com.cucumberExample.project</groupId>
<artifactId>com.cucumber.Example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
</project>
I am executing pom.xml from Eclipse IDE. I am getting compliation error message.
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
I cannot resolved this as I have already installed JDK. Please help.