本地运行轻量级EDAS调用服务的时候报错如下:
2018-01-08 13:16:58.029 WARN [http-bio-8090-exec-8:t.hsf] [RPC Protocol call service[com.cccc.commodity.busi.mat.QryMatSubCatalogService:0.1]ք[qryMatSubCatalog]method is error:
The target address of the service called:[192.168.1.182:12200?_p=4&v=2.0&_TIMEOUT=60000&_IDLETIMEOUT=10&_SERIALIZETYPE=1&b=0]
TraceId=c0a801b615153886174701003d79d4,
, RpcId=9
] [] [] java.lang.NoClassDefFoundError: com/alibaba/common/lang/ExceptionUtil
at com.taobao.hsf.remoting.service.RPCProtocolTemplateComponent.invokeWithMethodObject(RPCProtocolTemplateComponent.java:233)
at com.taobao.hsf.process.component.ProcessComponent$HSFServiceProxy.trueInvoke(ProcessComponent.java:309)
at com.taobao.hsf.process.component.ProcessComponent$HSFServiceProxy.invoke(ProcessComponent.java:294)
at com.sun.proxy.$Proxy12.qryMatSubCatalog(Unknown Source)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.taobao.hsf.remoting.provider.ProviderProcessor.handleRequest0(ProviderProcessor.java:497)
at com.taobao.hsf.remoting.provider.ProviderProcessor.handleRequest(ProviderProcessor.java:168)
at com.taobao.hsf.remoting.server.RPCServerHandler.handleRequest(RPCServerHandler.java:44)
at com.taobao.hsf.remoting.server.RPCServerHandler.handleRequest(RPCServerHandler.java:1)
at com.taobao.hsf.remoting.netty.server.handler.NettyServerHandler$HandlerRunnable.run(NettyServerHandler.java:116)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
【解决方案】:
检查工程中的web.xml文件,有些文件没引入进去。