java.lang.NoSuchMethodError: org.apache.cxf.helpers.XMLUtils.xmlEncode(Ljava/lang/String;)Ljava/lang/String;

Stack Overflow | Gabriel Vince | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    WSO2EMM 2.0.1 unable to register a device (cxf issue?)

    Stack Overflow | 8 months ago | Gabriel Vince
    java.lang.NoSuchMethodError: org.apache.cxf.helpers.XMLUtils.xmlEncode(Ljava/lang/String;)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.cxf.helpers.XMLUtils.xmlEncode(Ljava/lang/String;)Ljava/lang/String;

      at org.apache.cxf.jaxrs.model.wadl.WadlGenerator.xmlEncodeIfNeeded()
    2. Apache CXF JAX-RS Service Description
      WadlGenerator.handleRequest
      1. org.apache.cxf.jaxrs.model.wadl.WadlGenerator.xmlEncodeIfNeeded(WadlGenerator.java:445)
      2. org.apache.cxf.jaxrs.model.wadl.WadlGenerator.getPath(WadlGenerator.java:417)
      3. org.apache.cxf.jaxrs.model.wadl.WadlGenerator.startResourceTag(WadlGenerator.java:394)
      4. org.apache.cxf.jaxrs.model.wadl.WadlGenerator.generateWADL(WadlGenerator.java:282)
      5. org.apache.cxf.jaxrs.model.wadl.WadlGenerator.handleRequest(WadlGenerator.java:241)
      5 frames
    3. Apache CXF Runtime JAX-RS Frontend
      JAXRSInInterceptor.processRequest
      1. org.apache.cxf.jaxrs.impl.RequestPreprocessor.handleMetadataRequest(RequestPreprocessor.java:227)
      2. org.apache.cxf.jaxrs.impl.RequestPreprocessor.checkMetadataRequest(RequestPreprocessor.java:211)
      3. org.apache.cxf.jaxrs.impl.RequestPreprocessor.preprocess(RequestPreprocessor.java:84)
      4. org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:108)
      4 frames