XFire
  1. XFire
  2. XFIRE-1123

java.lang.ClassNotFoundException: org.codehaus.xfire.aegis.type.TypeMappingRegistry

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I created a WS client using the xfire tool, however now when I am trying to use it the following error occur form at the run time:

      HTTP Status 500 -
      <hr />

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception
      <pre>org.apache.jasper.JasperException: An exception occurred processing JSP page /products.jsp at line 30

      27: <%
      28: //if(!keywords.equals(" ")){
      29:
      30: AWSECommerceServiceClient client = new AWSECommerceServiceClient();
      31:
      32: // create a default service endpoint
      33: AWSECommerceServicePortType service = client.getAWSECommerceServicePort();

      Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      </pre>

      root cause
      <pre>javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/codehaus/xfire/aegis/type/TypeMappingRegistry
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
      org.apache.jsp.products_jsp._jspService(products_jsp.java:140)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      </pre>

      root cause
      <pre>java.lang.NoClassDefFoundError: org/codehaus/xfire/aegis/type/TypeMappingRegistry
      org.apache.jsp.products_jsp._jspService(products_jsp.java:92)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      </pre>

      root cause
      <pre>java.lang.ClassNotFoundException: org.codehaus.xfire.aegis.type.TypeMappingRegistry
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
      java.lang.ClassLoader.loadClassInternal(Unknown Source)
      org.apache.jsp.products_jsp._jspService(products_jsp.java:92)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      </pre>

        Activity

        No changes have yet been made on this issue.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            R
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: