Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/311.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 生成RESTful客户端代码IntelliJ IDEA_Java_Rest_Jakarta Ee_Intellij Idea - Fatal编程技术网

Java 生成RESTful客户端代码IntelliJ IDEA

Java 生成RESTful客户端代码IntelliJ IDEA,java,rest,jakarta-ee,intellij-idea,Java,Rest,Jakarta Ee,Intellij Idea,当我尝试使用IntelliJ自己的选项生成Java RESTful客户机时,会得到一个带注释的主块。我不知道我是否误用了这个工具,或者它只是没有实现 新建->RESTful Web服务客户端下的选项 它生成的代码: public class Client { public static void main(String[] argv) { // Please, do not remove this line from file template, here invocation of

当我尝试使用IntelliJ自己的选项生成Java RESTful客户机时,会得到一个带注释的主块。我不知道我是否误用了这个工具,或者它只是没有实现

新建->RESTful Web服务客户端下的选项

它生成的代码:

public class Client {
  public static void main(String[] argv) {
    // Please, do not remove this line from file template, here invocation of web service will be inserted  
  }
}
这是一个错误:

  • RESTful Web服务客户端模板为空