java.lang.NoSuchMethodError: sun.security.x509.X500Name.equals(Lsun/security/x509/X500Name;)Z

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807596, 1 year ago
sun.security.x509.X500Name.equals(Lsun/security/x509/X500Name;)Z
java.lang.NoSuchMethodError: sun.security.x509.X500Name.equals(Lsun/security/x509/X500Name;)Z
at com.sun.server.realm.certificate.CertificateRealm.getUser(CertificateRealm.java:263)
at com.sun.server.realm.certificate.CertificateAcl.getAclEntry(CertificateAcl.java:202)
at com.sun.server.realm.certificate.CertificateAcl.loadAcl(CertificateAcl.java:126)
at com.sun.server.realm.certificate.CertificateAclInfo.getAcl(CertificateAclInfo.java:100)
at com.sun.server.realm.certificate.CertificateRealm.getAcl(CertificateRealm.java:104)
at com.sun.server.security.ServletAclInfo.checkAccess(ServletAclInfo.java:241)
at com.sun.server.security.ServletAclInfo.checkAccess(ServletAclInfo.java:235)
at com.sun.server.security.ServletAclInfo.checkAccess(ServletAclInfo.java:200)
at com.sun.server.security.ServletSecurity.checkAclAccess(ServletSecurity.java:195)
at com.sun.server.security.ServletSecurity.checkLoad(ServletSecurity.java:182)
at com.sun.server.loader.DirectoryClassLoader.getClassFromLocalDir(DirectoryClassLoader.java:288)
at com.sun.server.loader.DirectoryClassLoader.loadRequestedClass(DirectoryClassLoader.java:200)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.