serenity-bdd / serenity-jira

14 stars 27 forks source link

ClassNotFoundException for lambdaj dependency #96

Closed timothyjmtan closed 5 years ago

timothyjmtan commented 5 years ago

Hello,

path: serenity-jira-plugin/src/main/java/net/serenitybdd/plugins/jira/TestResultTally.java

In TestResultTally.java, there is the usage of the lamdaj library imported from: ch.lambdaj.function.convert.Converter; and static ch.lambdaj.Lambda.convert;

The closest dependency I can find in the maven repository is

        <dependency>
            <groupId>com.googlecode.lambdaj</groupId>
            <artifactId>lambdaj</artifactId>
            <version>2.3.3</version>
        </dependency>

Even after placing this dependency in the client pom, I am getting a ClassNotFoundException. Any idea what the cause might be?

I thought it might be a potential dependency conflict, however on doing mvn dependency:tree I do not see any. Even so, by explicitly declaring the lambdaj dependency in the client pom it should take precedence over the other nested dependencies.

Thank you!

timothyjmtan commented 5 years ago

Closing issue as I'm using an old copy of the Serenity framework (1.9.36). May no longer be applicable in the latest version, will try and reopen if still persists.