No Features found in classpath cucumber .runtime.CucumberException

3,358 views
Skip to first unread message

Swaroop Swaroop

unread,
Oct 9, 2015, 9:13:57 AM10/9/15
to Cukes
Hello Everyone,

I am new to Cucumber and i have been finding it a bit tricky to work with cucumber.

I tried integrating cucumber with Webdriver script which runs well as a feature file. For this i have Junit 4.12 .jar added in the classpath tab of Run configurations for the Feature file.

However my issue is this as attached in the screen shot.

I have attached a second screen shot which should tell you the jar versions i have used and also what needs to be changed so that i could get my junit to recognize the feature file and since my feature file is alright i should be able to get the output.

I have researched in stackoverflow on this and found that placing the feature file under the same package as that of the SuiteRunner will solve the issue. I have tried it but i end up with the same issue.

Any help is much appreciated. Thanks in advance.

I also think there is some issue in the Cucumber-Core jar that i am using. Please guide me asap.......

Regards,
Swaroop



NoClassdefFound Error in Junit while executing Junit test.png
My Project details.png

aslak hellesoy

unread,
Oct 9, 2015, 9:27:33 AM10/9/15
to Cucumber Users
You have several different versions of many different cucumber-* jars. That's the problem.

See here for what versions to use:

HTH,
Aslak

--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Swaroop Swaroop

unread,
Oct 10, 2015, 12:32:26 PM10/10/15
to cu...@googlegroups.com
Dear Aslak,

Thank you so much for the quick response. It really helped me and now i have been able to execute the entire framework with the corrections mentioned in the link provided by you.

Your work is helping people across the world. Please keep up the work and all the best.

Regards,
Swaroop

You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/23Bw-9vLAOE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Thanks & Regards,
Swaroop
Reply all
Reply to author
Forward
0 new messages