File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Engineering
»
Testing
Author
Minimum jar's to run Simple Cucumber with Junit
sarada bokka
Ranch Hand
Joined: Jan 13, 2010
Posts: 80
posted
Jan 31, 2012 22:36:09
0
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
Joined: Jan 13, 2010
Posts: 80
posted
Jan 31, 2012 23:01:00
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Minimum jar's to run Simple Cucumber with Junit
Similar Threads
Error while deploying a simple WebService application in JBoss using Eclipse IDE
struts test case problem
JUnit and AbstractTestCase Problem
Using junit with ant
Error while deploying a simple WebService application in JBoss using Eclipse IDE
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter