java.lang.ClassCastException: java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error when creation custom Authenticator
    via by 666705,
  • Error when creation custom Authenticator
    via by Véronique Rufiange,
  • custom loginmodule with weblogic
    via by 843811,
  • JAAS pb and Authentication servlet
    via by B. Lebouvier,
    • java.lang.ClassCastException: java.lang.NoClassDefFoundError at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1166) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525) at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943) at weblogic.management.console.utils.Security.createObject(Security.java:766) at weblogic.management.console.utils.Security.createProviderMBean(Security.java:897) at weblogic.management.console.utils.Security.createMBean(Security.java:748) at weblogic.management.console.utils.MBeans.createMBean(MBeans.java:1386) at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(DoCreateMBeanAction.java:173) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    No Bugmate found.