Bug ID: JDK-5050097 SecurityException doesn't provide enough details
One case where this happens is when you have those classes in multiple jar files. java.lang.SecurityException: class "javax.xml.namespace.NamespaceContext"'s signer information does not match signer information of other classes in the same package.