Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在没有 Spring Boot、Spring MVC 的情况下在基于持久性存储的应用程序上使用 Spring Data Rest/HATEOAS。如果是这样,如何做到这一点?
简短的回答是肯定的。这甚至在 Spring Boot 之前就已经存在。
重要的是确保 API jar 在您的类路径中。在此处获取最新版本的 Hateoas和最新版本的 Spring Data JPA并添加到类路径中。只需从您正在使用的设置中选择(例如,Maven、Gradle)。