small medium large xlarge

Generic-user-small
12 Dec 2016, 21:45
Steve Laurencell (3 posts)

There seemed to be a lot of similar postings here, but I read all of them and tried several suggestions from them, but none of it worked. When I try the following command………. java -cp “jars/*” cucumber.api.cli.Main -p pretty I get an error that says…………. “Exception in thread “main” java.lang.NoClassDefFoundError: cucumber/deps/com/thoughtworks/xstream/converters/ConverterRegistry”

Thx!

Generic-user-small
13 Dec 2016, 12:47
Seb Rose (21 posts)

Hi,

What files do you have in your jar folder? Can you post a full list?

It feels like you’re missing the right version of the cucumber-jvm-deps jar.

Seb

Generic-user-small
15 Dec 2016, 15:56
Steve Laurencell (3 posts)

Seb,

Thanks for responding. I created C:\checkout\jars.
I put the following files in there……..

cucumber-core-1.2.5.jar
cucumber-java-1.2.5.jar
gherkin-2.12.2.jar
gherkin-jvm-deps-1.0.3.jar
Generic-user-small
15 Dec 2016, 18:22
Seb Rose (21 posts)

Hi,

You’ve got gherkin-jvm-deps-1.0.3 in the jars folder, but not cucumber-jvm-deps-1.0.3. Cucumber-JVM won’t work without it.

Cheers Seb

Generic-user-small
16 Dec 2016, 16:37
Steve Laurencell (3 posts)

Seb,

That worked! Thank you very much!!

You must be logged in to comment