首页 > 代码库 > CXF报错汇总及解决方法

CXF报错汇总及解决方法

本文用于收藏在使用CXF的过程中遇到的问题及对应的解决方法,记录于此,供大家参考。


RuntimeException: Cannot create a secure XMLInputFactory

 

服务器端缺少了两个jar stax2-api-3.1.x.jar woodstox-core-asl-4.2.x.jar,客户端不需要任何jar

 

客户端也需要

 

 

 

Can‘t find the the request for

Web.xml中 必须有

<context-param>
       <param-name>contextConfigLocation</param-name>
       <param-value>classpath*:*/applicationcontext*.xml</param-value>
    </context-param>
    <listener>
       <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

 

因为cxf需要contextloaderlistener加载,而contextloaderlistener需要有参数contextConfigLocation

 

 

org.apache.cxf.interceptor.Fault: Response was ofunexpected text/html ContentType

2014-10-22 20:47:00,629[http-bio-8080-exec-10] WARN [org.apache.cxf.phase.PhaseInterceptorChain] - Interceptor for{http://webservice.bpm.platform.ms/}ProcessServiceService#{http://webservice.bpm.platform.ms/}starthas thrown exception, unwinding now

org.apache.cxf.interceptor.Fault:Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPEhtml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<metahttp-equiv="Content-Type" content="text/html;charset=utf-8"/>

<styletype="text/css">html, body{height:100%;margin:0;}</style><link rel="shortcut icon"type="image/vnd.microsoft.icon"href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/favicon.ico" /><link rel="icon"type="image/vnd.microsoft.icon"href="/activiti/VAADIN/themes/activiti/favicon.ico"/>Activiti Explorer

</head>

<body scroll="auto"class="v-generated-body">

<scripttype="text/javascript">

//<![CDATA[

if(!vaadin || !vaadin.vaadinConfigurations){

 if(!vaadin) { var vaadin = {}}

vaadin.vaadinConfigurations = {};

if (!vaadin.themesLoaded) {vaadin.themesLoaded = {}; }

}

vaadin.vaadinConfigurations["activitiui-2048605651"]= {appUri:‘/activiti/ui‘, standalone: true, themeUri:"/activiti/VAADIN/themes/activiti",versionInfo :{vaadinVersion:"6.8.8",applicationVersion:"NONVERSIONED"},"comErrMsg":{"caption":"Communication problem","message" :"Take note of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null},"authErrMsg":{"caption":"Authentication problem","message" :"Take note of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null}};

//]]>

</script>

<iframe tabIndex=‘-1‘id=‘__gwt_historyFrame‘style=‘position:absolute;width:0;height:0;border:0;overflow:hidden;‘src=‘javascript:false‘></iframe>

<script language=‘javascript‘src=http://www.mamicode.com/‘/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604‘></script>

<scripttype="text/javascript">

//<![CDATA[

if(!vaadin.themesLoaded[‘activiti‘]){

var stylesheet =document.createElement(‘link‘);

stylesheet.setAttribute(‘rel‘,‘stylesheet‘);

stylesheet.setAttribute(‘type‘,‘text/css‘);

stylesheet.setAttribute(‘href‘,‘/activiti/VAADIN/themes/activiti/styles.css‘);

document.getElementsByTagName(‘head‘)[0].appendChild(stylesheet);

vaadin.themesLoaded[‘activiti‘] =true;

}

//]]>

</script>

<scripttype="text/javascript">

//<![CDATA[

setTimeout(‘if (typeoforg_activiti_explorer_CustomWidgetset == "undefined"){alert("Failed to load the widgetset:/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604")};‘,15000);

//]]>

</script>

<scripttype="text/javascript">//<![CDATA[var mobi = [‘opera‘,‘iemobile‘, ‘webos‘, ‘android‘, ‘blackberry‘, ‘ipad‘, ‘safari‘];var midp =[‘blackberry‘, ‘symbian‘];var ua = navigator.userAgent.toLowerCase();if((ua.indexOf(‘midp‘) != -1) || (ua.indexOf(‘mobi‘) != -1) ||((ua.indexOf(‘ppc‘) != -1) && (ua.indexOf(‘mac‘) == -1)) ||(ua.indexOf(‘webos‘) != -1)) { document.write(‘<link rel="stylesheet"href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/allmobile.css"type="text/css" media="all"/>‘); >

<noscript>You have to enablejavascript in your browser to use an application built withVaadin.</noscript></body>

</html>

 

    atorg.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:95)

    atorg.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

    atorg.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:845)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1624)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1513)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1318)

    atorg.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

    atorg.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632)

    atorg.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

    atorg.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

    atorg.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:570)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)

    atorg.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

    atorg.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)

    at$Proxy100.start(Unknown Source)

    atms.platform.bpm.util.ProcessUtil.start(ProcessUtil.java:40)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.process(OrderAdjustController.java:122)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.selectPage(OrderAdjustController.java:94)

    atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    atjava.lang.reflect.Method.invoke(Method.java:597)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

    atorg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)

    atorg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)

    atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

    atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

    atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

    atorg.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:620)

    atorg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

    atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atcom.wsria.demo.filter.AutoSetUserAdapterFilter.doFilter(AutoSetUserAdapterFilter.java:49)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

    atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

    atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    atorg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    atjava.lang.Thread.run(Thread.java:619)

javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPEhtml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<metahttp-equiv="Content-Type" content="text/html;charset=utf-8"/>

<styletype="text/css">html, body{height:100%;margin:0;}</style><link rel="shortcut icon"type="image/vnd.microsoft.icon" href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/favicon.ico"/><link rel="icon" type="image/vnd.microsoft.icon"href="/activiti/VAADIN/themes/activiti/favicon.ico"/>Activiti Explorer

</head>

<body scroll="auto"class="v-generated-body">

<script type="text/javascript">

//<![CDATA[

if(!vaadin ||!vaadin.vaadinConfigurations) {

 if(!vaadin) { var vaadin = {}}

vaadin.vaadinConfigurations = {};

if (!vaadin.themesLoaded) {vaadin.themesLoaded = {}; }

}

vaadin.vaadinConfigurations["activitiui-2048605651"]= {appUri:‘/activiti/ui‘, standalone: true,themeUri:"/activiti/VAADIN/themes/activiti", versionInfo :{vaadinVersion:"6.8.8",applicationVersion:"NONVERSIONED"},"comErrMsg":{"caption":"Communication problem","message" :"Take note of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null},"authErrMsg":{"caption":"Authentication problem","message" :"Take note of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null}};

//]]>

</script>

<iframe tabIndex=‘-1‘id=‘__gwt_historyFrame‘ style=‘position:absolute;width:0;height:0;border:0;overflow:hidden;‘src=‘javascript:false‘></iframe>

<script language=‘javascript‘src=http://www.mamicode.com/‘/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604‘></script>

<scripttype="text/javascript">

//<![CDATA[

if(!vaadin.themesLoaded[‘activiti‘]) {

var stylesheet =document.createElement(‘link‘);

stylesheet.setAttribute(‘rel‘,‘stylesheet‘);

stylesheet.setAttribute(‘type‘,‘text/css‘);

stylesheet.setAttribute(‘href‘,‘/activiti/VAADIN/themes/activiti/styles.css‘);

document.getElementsByTagName(‘head‘)[0].appendChild(stylesheet);

vaadin.themesLoaded[‘activiti‘] =true;

}

//]]>

</script>

<scripttype="text/javascript">

//<![CDATA[

setTimeout(‘if (typeoforg_activiti_explorer_CustomWidgetset == "undefined"){alert("Failed to load the widgetset:/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604")};‘,15000);

//]]>

</script>

<scripttype="text/javascript">//<![CDATA[var mobi = [‘opera‘,‘iemobile‘, ‘webos‘, ‘android‘, ‘blackberry‘, ‘ipad‘, ‘safari‘];var midp =[‘blackberry‘, ‘symbian‘];var ua = navigator.userAgent.toLowerCase();if((ua.indexOf(‘midp‘) != -1) || (ua.indexOf(‘mobi‘) != -1) ||((ua.indexOf(‘ppc‘) != -1) && (ua.indexOf(‘mac‘) == -1)) ||(ua.indexOf(‘webos‘) != -1)) { document.write(‘<link rel="stylesheet"href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/allmobile.css"type="text/css" media="all"/>‘); >

<noscript>You have to enablejavascript in your browser to use an application built withVaadin.</noscript></body>

</html>

 

    atorg.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:158)

    at$Proxy100.start(Unknown Source)

    atms.platform.bpm.util.ProcessUtil.start(ProcessUtil.java:40)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.process(OrderAdjustController.java:122)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.selectPage(OrderAdjustController.java:94)

    atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    atjava.lang.reflect.Method.invoke(Method.java:597)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

    atorg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)

    atorg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)

    atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

    atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

    atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

    atorg.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:620)

    atorg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

    atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atcom.wsria.demo.filter.AutoSetUserAdapterFilter.doFilter(AutoSetUserAdapterFilter.java:49)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

    atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

    atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    atorg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    atjava.lang.Thread.run(Thread.java:619)

Caused by:org.apache.cxf.interceptor.Fault: Response was of unexpected text/htmlContentType. Incoming portion of HTMLstream: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<metahttp-equiv="Content-Type" content="text/html;charset=utf-8"/>

<styletype="text/css">html, body{height:100%;margin:0;}</style><link rel="shortcut icon"type="image/vnd.microsoft.icon"href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/favicon.ico" /><linkrel="icon" type="image/vnd.microsoft.icon"href="/activiti/VAADIN/themes/activiti/favicon.ico">

</head>

<body scroll="auto"class="v-generated-body">

<scripttype="text/javascript">

//<![CDATA[

if(!vaadin ||!vaadin.vaadinConfigurations) {

 if(!vaadin) { var vaadin = {}}

vaadin.vaadinConfigurations = {};

if (!vaadin.themesLoaded) {vaadin.themesLoaded = {}; }

}

vaadin.vaadinConfigurations["activitiui-2048605651"]= {appUri:‘/activiti/ui‘, standalone: true,themeUri:"/activiti/VAADIN/themes/activiti", versionInfo :{vaadinVersion:"6.8.8",applicationVersion:"NONVERSIONED"},"comErrMsg":{"caption":"Communication problem","message" :"Take note of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null},"authErrMsg":{"caption":"Authentication problem","message" : "Takenote of any unsaved data, and <u>click here<\/u> tocontinue.","url" : null}};

//]]>

</script>

<iframe tabIndex=‘-1‘id=‘__gwt_historyFrame‘style=‘position:absolute;width:0;height:0;border:0;overflow:hidden;‘src=‘javascript:false‘></iframe>

<script language=‘javascript‘src=http://www.mamicode.com/‘/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604‘></script>

<scripttype="text/javascript">

//<![CDATA[

if(!vaadin.themesLoaded[‘activiti‘]) {

var stylesheet =document.createElement(‘link‘);

stylesheet.setAttribute(‘rel‘,‘stylesheet‘);

stylesheet.setAttribute(‘type‘,‘text/css‘);

stylesheet.setAttribute(‘href‘,‘/activiti/VAADIN/themes/activiti/styles.css‘);

document.getElementsByTagName(‘head‘)[0].appendChild(stylesheet);

vaadin.themesLoaded[‘activiti‘] =true;

}

//]]>

</script>

<scripttype="text/javascript">

//<![CDATA[

setTimeout(‘if (typeoforg_activiti_explorer_CustomWidgetset == "undefined"){alert("Failed to load the widgetset:/activiti/VAADIN/widgetsets/org.activiti.explorer.CustomWidgetset/org.activiti.explorer.CustomWidgetset.nocache.js?1413982020604")};‘,15000);

//]]>

</script>

<scripttype="text/javascript">//<![CDATA[var mobi = [‘opera‘,‘iemobile‘, ‘webos‘, ‘android‘, ‘blackberry‘, ‘ipad‘, ‘safari‘];var midp =[‘blackberry‘, ‘symbian‘];var ua = navigator.userAgent.toLowerCase();if((ua.indexOf(‘midp‘) != -1) || (ua.indexOf(‘mobi‘) != -1) ||((ua.indexOf(‘ppc‘) != -1) && (ua.indexOf(‘mac‘) == -1)) ||(ua.indexOf(‘webos‘) != -1)) { document.write(‘<link rel="stylesheet"href=http://www.mamicode.com/"/activiti/VAADIN/themes/activiti/allmobile.css" type="text/css"media="all"/>‘); >

<noscript>You have to enablejavascript in your browser to use an application built withVaadin.</noscript></body>

</html>

 

    atorg.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:95)

    atorg.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

    atorg.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:845)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1624)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1513)

    atorg.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1318)

    atorg.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

    atorg.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632)

    atorg.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

    atorg.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

    atorg.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:570)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)

    atorg.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)

    atorg.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

    atorg.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)

    ...45 more

java.lang.Exception:指定审核团队为空

    atms.platform.bpm.service.DirectTeamRule.distribute(DirectTeamRule.java:39)

    atms.platform.bpm.service.OrderDistributeService.approveDistribution(OrderDistributeService.java:81)

    atms.platform.bpm.service.OrderDistributeService.distribute(OrderDistributeService.java:35)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.process(OrderAdjustController.java:131)

    atcom.macrosky.biz.controller.loanbefore.OrderAdjustController.selectPage(OrderAdjustController.java:94)

    atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    atjava.lang.reflect.Method.invoke(Method.java:597)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

    atorg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

    atorg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)

    atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)

    atorg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)

    atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

    atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

    atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

    atorg.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:620)

    atorg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

    atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atcom.wsria.demo.filter.AutoSetUserAdapterFilter.doFilter(AutoSetUserAdapterFilter.java:49)

    atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

    atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

    atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

    atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    atorg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    atjava.lang.Thread.run(Thread.java:619)


org.apache.cxf.interceptor.Fault: nested exception is org.apache.ibatis.binding.BindingException:Parameter ‘customerName‘ not found.

 

服务本身的错误,跟cxf无关

 


CXF报错汇总及解决方法