0

I'm getting the error below:

Exception in thread "main"java.lang.NoClassDefFoundError:net/serenitybdd/jbehave/SerenityStories

Caused by: java.lang.ClassNotFoundException: net.serenitybdd.jbehave.SerenityStories
Al Sweigart
  • 11,566
  • 10
  • 64
  • 92
User1111
  • 1
  • 2

1 Answers1

0

That's a dependency conflict. Check that you are using the latest versions for all of the serenity jars.

John Smart
  • 969
  • 1
  • 5
  • 5
  • Thanks for quick answer . i am using all latest versions of all serenity jars . i am pasting my pom file here if any thing wrong please correct it . – User1111 Mar 30 '17 at 10:10
  • using serenity-jbehave 1.13.0serenity-maven-plugin 1.0.6serenity-core 1.2.4maven-assembly-plugin 2.4.1 if any thing need to modify please let me know – User1111 Mar 30 '17 at 11:28
  • problem fixed for me .its dependency conflict – User1111 Apr 05 '17 at 18:32