ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project NRE_Fintech_Automation: Compilation failure
##[error]NRE_Fintech_Automation\src\main\java\com\nre\actiondriver\Action.java(13,27): error : /D:/a/1/s/NRE_Fintech_Automation/src/main/java/com/nre/actiondriver/Action.java:[13,27] cannot access org.openqa.selenium.Alert
[ERROR] /D:/a/1/s/NRE_Fintech_Automation/src/main/java/com/nre/actiondriver/Action.java:[13,27] cannot access org.openqa.selenium.Alert
[ERROR] bad class file: C:\Users\VssAdministrator\.m2\repository\org\seleniumhq\selenium\selenium-api\4.20.0\selenium-api-4.20.0.jar(org/openqa/selenium/Alert.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
I tried updating the selenium and java versions. How can I resolve this.
Thank you.
[ERROR] class file has wrong version 55.0, should be 52.0
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9bb95576-90ab-4c1d-a68c-e5129cf1cf3en%40googlegroups.com.