java.lang.ClassCastException: java.lang.NoClassDefFoundError

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 666705, 1 year ago
java.lang.NoClassDefFoundError
via Google Groups by Véronique Rufiange, 10 months ago
java.lang.NoClassDefFoundError
via Google Groups by B. Lebouvier, 5 months ago
java.lang.NoClassDefFoundError
via Oracle Community by 843811, 1 year ago
java.lang.NoClassDefFoundError
via Google Groups by Joy, 5 months ago
java.lang.NoClassDefFoundError
via Oracle Community by 3004, 1 year ago
java.lang.NoClassDefFoundError
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.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.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

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.