You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2018/06/13 08:17:00 UTC

[jira] [Commented] (SCB-663) crossapp-client 单元测试 出现异常

    [ https://issues.apache.org/jira/browse/SCB-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510768#comment-16510768 ] 

wujimin commented on SCB-663:
-----------------------------

based on the latest code

getContentType added in recent commit

> crossapp-client 单元测试 出现异常
> -------------------------
>
>                 Key: SCB-663
>                 URL: https://issues.apache.org/jira/browse/SCB-663
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m2
>         Environment: sc center版本:    apache-servicecomb-incubating-service-center-1.0.0-m2-windows-amd64
>            Reporter: miaoyanjie
>            Priority: Major
>
> 运行[https://github.com/apache/incubator-servicecomb-java-chassis/tree/master/demo/demo-crossapp] 中 crossapp-client 项目的单元测试时,出现异常:
> Caused by: java.lang.Error: not supported method
>  at org.apache.servicecomb.foundation.vertx.http.AbstractHttpServletRequest.getContentType(AbstractHttpServletRequest.java:80)
>  at org.apache.servicecomb.demo.signature.SignatureUtils.genSignature(SignatureUtils.java:61)
>  at org.apache.servicecomb.demo.signature.ClientSignature.beforeSendRequest(ClientSignature.java:40)
>  at org.apache.servicecomb.transport.rest.client.http.RestClientInvocation.invoke(RestClientInvocation.java:93)
>  at org.apache.servicecomb.transport.rest.client.RestTransportClient.send(RestTransportClient.java:103)
>  ... 12 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)