• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Minimum jar's to run Simple Cucumber with Junit

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic