我使用JHipster创建了一个微服务应用程序。我遇到的唯一问题是找不到以下依赖项。
org.springframework.data.relational更具体地说
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;
import org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties;在错误中包含URL
implementation "org.springframework.boot.experimental:spring-boot-starter-data-r2dbc:${spring_boot_starter_data_r2dbc_version}"gradle.properties
spring_boot_starter_data_r2dbc_version=0.1.0.我只想问一下,在我创建bug工单之前,是否有人遇到过类似的问题。
这可以使用yeoman yo命令轻松复制。
发布于 2020-12-31 23:43:24
我也遇到了类似的问题,我找到了原因:
在最新版本6.10.5中,JHipster仍然使用spring boot的实验性工件,它不再是实验性的,因此移到了maven存储库中的官方spring boot groupid。不幸的是,改变这一点是不够的,因为jhipster使用的是spring boot 2.2.7,而spring-boot-starter-data-r2dbc只有在2.3之后才可用。对我来说,解决方案是使用jhipster 7的测试版,他们迁移到了Spring boot2.3。
可在此处访问:https://www.jhipster.tech/2020/12/21/jhipster-release-7.0.0-beta.0.html或使用:
npm install -g generator-jhipster@betahttps://stackoverflow.com/questions/65493546
复制相似问题