Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.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
Spring 根资源中缺少某些存储库_Spring_Spring Data Rest - Fatal编程技术网

Spring 根资源中缺少某些存储库

Spring 根资源中缺少某些存储库,spring,spring-data-rest,Spring,Spring Data Rest,我正在学习的源代码。我无法找到根资源的响应为什么没有org.springsource.restbucks.payment.PaymentRepository和org.springsource.restbucks.payment.CreditCardRepository的关系 你能给我解释一下它是怎么工作的吗 谢谢根目录仅列出顶级资源。付款是/orders下的一个子资源。您能在源代码中指出它发生在哪里吗? { "_links": { "restbucks:ord

我正在学习的源代码。我无法找到根资源的响应为什么没有org.springsource.restbucks.payment.PaymentRepository和org.springsource.restbucks.payment.CreditCardRepository的关系

你能给我解释一下它是怎么工作的吗


谢谢

根目录仅列出顶级资源。付款是
/orders
下的一个子资源。您能在源代码中指出它发生在哪里吗?
    {
      "_links": {
        "restbucks:orders": {
          "href": "http://localhost:8080/orders{?page,size,sort,projection}",
          "templated": true
        },
        "restbucks:engine": {
          "href": "http://localhost:8080/engine"
        },
        "restbucks:pages": {
          "href": "http://localhost:8080/pages"
        },
        "curies": [
          {
            "href": "http://localhost:8080/rels/{rel}",
            "name": "restbucks",
            "templated": true
          }
        ]
      }
    }