serenity-bdd / serenity-core

Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.
http://serenity-bdd.info
Other
722 stars 518 forks source link

cannot find symbol: class Managed #3507

Open jayeshkumarbhoi opened 3 months ago

jayeshkumarbhoi commented 3 months ago

I am currently going through tutorial https://serenity-bdd.github.io/docs/tutorials/first_test and used the starter project from https://github.com/serenity-bdd/serenity-junit-screenplay-starter.

I have done changes as per above tutorial but during "mvn verify" it through below errors.


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project serenity-junit-screenplay-starter: Compilation failure: Compilation failure:
[ERROR] /C:/test-automation/serenity-junit-screenplay-starter/src/test/java/starter/Nebula/WhenSearchingByKeyword.java:[5,39] cannot find symbol
[ERROR]   symbol:   class Managed
[ERROR]   location: package net.thucydides.core.annotations
[ERROR] /C:/test-automation/serenity-junit-screenplay-starter/src/test/java/starter/Nebula/WhenSearchingByKeyword.java:[13,6] cannot find symbol
[ERROR]   symbol:   class Managed
[ERROR]   location: class starter.Nebula.WhenSearchingByKeyword
[ERROR] /C:/test-automation/serenity-junit-screenplay-starter/src/test/java/starter/Nebula/WhenSearchingByKeyword.java:[25,9] cannot find symbol
[ERROR]   symbol:   variable Serenity
[ERROR]   location: class starter.Nebula.WhenSearchingByKeyword
[ERROR] -> [Help 1]
[ERROR]

does starter project missing dependancy in pom.xml? Or any other issue?