You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/05/17 01:44:14 UTC

[GitHub] [servicecomb-java-chassis] zhangjun2009 opened a new issue #2386: 这个什么错

zhangjun2009 opened a new issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386


   2021-05-17 09:41:31.050 ERROR 2540 --- [oup0-1-thread-1] o.a.s.c.h.impl.ProducerOperationHandler  : unexpected error operation=PRODUCER rest consumer.com.hihonor.web.controller.RpcConsumerController.sayHello, message=cause:InvocationTargetException,message:null;cause:IllegalStateException,message:parameter name is not present, method=com.hihonor.service.RpcService:sayRpc
   solution:
     change pom.xml, add compiler argument: -parameters, for example:
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <compilerArgument>-parameters</compilerArgument>
         </configuration>
       </plugin>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] fanjiang-2021 commented on issue #2386: 这个什么错

Posted by GitBox <gi...@apache.org>.
fanjiang-2021 commented on issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386#issuecomment-842219415


   ![image](https://user-images.githubusercontent.com/84115877/118476136-b86e6f80-b73f-11eb-8a6d-71fb48b5e1d0.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2386: 这个什么错

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386#issuecomment-842039353


   按照日志的提示,增加-parameters 编译选项。 保证编译后的字节码,包含接口参数名称。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] fanjiang-2021 commented on issue #2386: 这个什么错

Posted by GitBox <gi...@apache.org>.
fanjiang-2021 commented on issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386#issuecomment-842219415


   ![image](https://user-images.githubusercontent.com/84115877/118476136-b86e6f80-b73f-11eb-8a6d-71fb48b5e1d0.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2386: 这个什么错

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386#issuecomment-843098501


   例子供参考: https://github.com/apache/servicecomb-samples/blob/master/basic/pom.xml
   
   具体原因包括maven的其他依赖覆盖等,需要结合总体的maven pom结构看。 或者其他可能问题,一般加了这个配置项,以反编译代码,能够看到接口参数为准。 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2386: 这个什么错

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2386:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2386#issuecomment-842039353


   按照日志的提示,增加-parameters 编译选项。 保证编译后的字节码,包含接口参数名称。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org