Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/formatter/Formatter #20

Closed
mike-vogel opened this issue Apr 8, 2017 · 2 comments

Comments

@mike-vogel
Copy link

mike-vogel commented Apr 8, 2017

Download
Import into eclipse
Run feature as cucumber
fails with exception: Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/formatter/Formatter

I didn't touch the pom or anything else after importing.

"mvn test" from the command line also fails with the same error

@mike-vogel
Copy link
Author

mvn dependency:purge-local-repository
and things worked.

@wilsoncampusano
Copy link
Contributor

great. I didn't know you are able to clean your local repository like that. good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants