You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "rainsun-sxy (via GitHub)" <gi...@apache.org> on 2023/04/05 04:57:05 UTC

[GitHub] [servicecomb-java-chassis] rainsun-sxy opened a new issue, #3743: 使用gradle构建启动时有ServiceComb init failed 异常

rainsun-sxy opened a new issue, #3743:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3743

   Caused by: java.lang.IllegalStateException: parameter name is not present, method=com.rain.paas.gradle.sc.servlet.endpoint.rest.RestEndpoint:post
   solution:
     change pom.xml, add compiler argument: -parameters, for example:
   ```xml
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <compilerArgument>-parameters</compilerArgument>
         </configuration>
       </plugin>
   ```
   
   gradle脚本中已添加添加compilerArgs,如下所示,但是没能解决此类问题
   ```gradle
   tasks.withType(JavaCompile) {
       options.encoding = "UTF-8"
       options.compilerArgs += ["-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.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org.apache.org

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


[GitHub] [servicecomb-java-chassis] lbc97 commented on issue #3743: 使用gradle构建启动时有ServiceComb init failed 异常

Posted by "lbc97 (via GitHub)" <gi...@apache.org>.
lbc97 commented on issue #3743:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3743#issuecomment-1501543574

   com.rain.paas.gradle.sc.servlet.endpoint.rest.RestEndpoint:post 这个类是谁的类啊


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

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