Skip to content

cannot find symbol: class Managed #58

@jayeshkumarbhoi

Description

@jayeshkumarbhoi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions