File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Minimum jar's to run Simple Cucumber with Junit

 
sarada bokka
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to run Java calculator example provided in https://github.com/cucumber/cucumber-jvm/tree/master/examples

add the jars files http://search.maven.org/#search|ga|1|cucumber and http://search.maven.org/#search|ga|1|gherkin

1) cucumber java
2)cucumber junit
3)cucumber core
4)gherkin
5)junit

and trying to run as Junit in eclipse

it throws error NoClassDefFoundError: com/thoughtworks/xstream/converters/Converter
added cucumber groovy.jar throws other error

java.lang.NoClassDefFoundError: groovy/lang/GroovyShell
at java.lang.Class.getDeclaredConstructors0(Native Method)

could some one let me know what are the minimum jar files required to run this sample example???



 
sarada bokka
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's resolved :-)!

added the jar's

1) cucumber java
2)cucumber junit
3)cucumber core
4)gherkin
5)junit
6)xstream
7)cucumber piocontainer
8)piocontainer
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic