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