Dear Friends,
I have been trying to implement Serenity in my project for a while now. I am struck at one place. Could anyone please check the following issue for me.
Technical Details.
Windows 7, 32bit operating System, Junit with Serenity.
I am using POM.xml and here is the screen shot:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Serenity JUnit Quick Start Project 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ junit-quick-start ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\workspace\Serenity Webdriver\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ junit-quick-start ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ junit-quick-start ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\workspace\Serenity Webdriver\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ junit-quick-start ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to D:\workspace\Serenity Webdriver\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/workspace/Serenity Webdriver/src/test/java/com/Swaroop/Serenity/JunitSuite.java:[9,10] cannot find symbol
symbol: class SerenityRunner
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.931 s
[INFO] Finished at: 2016-05-22T11:57:55+05:30
[INFO] Final Memory: 20M/53M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project junit-quick-start: Compilation failure
[ERROR] /D:/workspace/Serenity Webdriver/src/test/java/com/Swaroop/Serenity/JunitSuite.java:[9,10] cannot find symbol
[ERROR] symbol: class SerenityRunner
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException