java.lang.NoClassDefFoundError

tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Java JAX-RPC client to C# web service
    via Stack Overflow by vico
    ,
    • java.lang.NoClassDefFoundError: net/sf/saxon/om/DocumentInfo at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at net.sf.saxon.event.Builder.build(Builder.java:185) at net.sf.saxon.query.QueryProcessor.buildDocument(QueryProcessor.java:78) at net.sf.saxon.query.StaticQueryContext.buildDocument(StaticQueryContext.java:137) at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQuery.java:74) at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.cursorExecute(Query.java:345) at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl.cursorExecute(Query.java:243) at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331) at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839) at controls.ebcontrols.EbXmlControlImpl.executeProvidersXQuery(EbXmlControlImpl.java:102) at controls.ebcontrols.EbXmlControlBean.executeProvidersXQuery(EbXmlControlBean.java:205) at pageflows.XqFlow.XqFlowController.executeProvidersXQuery(XqFlowController.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3211) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Users with the same issue

    Unknown visitor1 times, last one,
    junior_cEngineer
    1 times, last one,
    Ghosts
    12 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    139 more bugmates