java.lang.SecurityException: class "org.hamcrest.Matchers"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
After some fruitless googling, I finally came across this post. Don't entirely follow the reference to plugins, but the intent seems pretty clear. After editing my project's build order so Hamcrest is before JUnit4, the problem went away. Definitely looking forward to trying out more Matcher style asserts in my unit tests.
Exception is gone when changing ".classpath" as you've said. Thx.
ReplyDelete