-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
A Exception for junit4.12 about org/hamcrest/SelfDescribing #1429
Comments
You need to add the hamcrest-core JAR to the classpath as described here: https://github.com/junit-team/junit4/wiki/Download-and-Install |
think you ~ I have add this JAR now .the application is complise. thinks for you answer again |
From which version the hamcrest-core is needed? We have used junit-4.10 and we didn't need the hamcrest at all. Was it a change in 4.11? What about some note about it in wiki / doc? |
@kcooney Thanks, I already checked it. It states that there was an upgrade to Hamcrest 1.3 and that JUnitMatchers are now deprecated. But it doesn't say explicitly that I cannot use JUnit without Hamcrest at all. It took me some time to find it out. |
@Mi-La see the section on Maven artifacts |
@kcooney Ok, I see. Unfortunately our old project still uses Ant, so I didn't care about the Maven part ;-). Thanks |
hello, guy!
why my use junit4.12.jar thows Exception org/hamcrest/SelfDescribing,no hamcrest ?
java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
The text was updated successfully, but these errors were encountered: