NoSuchMethodError: org.hamcrest.Matcher.describeMismatch
版本:
junit 4.11
hamcrest:1.3
mockito:1.9.5
异常原因:mockito中包含了hamcrest旧版,使hamcrest1.3未生效,替换mockito到1.10.19 问题解决
NoSuchMethodError: org.hamcrest.Matcher.describeMismatch
版本:
junit 4.11
hamcrest:1.3
mockito:1.9.5
异常原因:mockito中包含了hamcrest旧版,使hamcrest1.3未生效,替换mockito到1.10.19 问题解决