java.lang.NoClassDefFoundError: javax/xml/ws/soap/MTOM

baidu.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    javax/xml/ws/soap/MTOM

    at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.loadWSFeatureAnnotation()
  2. Apache CXF Runtime JAX-WS Frontend
    JaxWsClientFactoryBean.setServiceClass
    1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.loadWSFeatureAnnotation(JaxWsServiceFactoryBean.java:143)
    2. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initConfiguration(JaxWsServiceFactoryBean.java:497)
    3. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setJaxWsImplementorInfo(JaxWsServiceFactoryBean.java:472)
    4. org.apache.cxf.jaxws.JaxWsClientFactoryBean.setServiceClass(JaxWsClientFactoryBean.java:44)
    4 frames
  3. Apache CXF Runtime Simple Frontend
    ClientProxyFactoryBean.setServiceClass
    1. org.apache.cxf.frontend.ClientProxyFactoryBean.setServiceClass(ClientProxyFactoryBean.java:205)
    1 frame
  4. et
    WSClient.main
    1. et.WSClient.getServerList(WSClient.java:32)
    2. et.WSClient.main(WSClient.java:19)
    2 frames