我无法使用>jhipster entity book
创建实体。
Jhipster版本是6.9.1
INFO! Using JHipster version installed locally in current project's node_modules
INFO! Executing jhipster:entity book
INFO! Options: from-cli: true
ERROR! The entity generator doesn't support reactive apps with databases of type sql at the moment
Error: The entity generator doesn't support reactive apps with databases of type sql at the moment
at EntityGenerator.error (C:\Users\metin.bulak\Desktop\jh\node_modules\generator-jhipster\generators\generator-base.js:1590:15)
at EntityGenerator.validateReactiveCompatibility (C:\Users\metin.bulak\Desktop\jh\node_modules\generator-jhipster\generators\entity\index.js:240:26)
at Object.<anonymous> (C:\Users\metin.bulak\Desktop\jh\node_modules\yeoman-generator\lib\index.js:893:25)
at C:\Users\metin.bulak\Desktop\jh\node_modules\run-async\index.js:49:25
at new Promise (<anonymous>)
at C:\Users\metin.bulak\Desktop\jh\node_modules\run-async\index.js:26:19
at runLoop.add.once.once (C:\Users\metin.bulak\Desktop\jh\node_modules\yeoman-generator\lib\index.js:894:11)
at processImmediate (internal/timers.js:456:21)
答案 0 :(得分:2)
您选择了使用Spring WebFlux生成响应式应用程序,因此您无法使用SQL数据库,因为JDBC正在阻塞并且JHipster还不支持R2DBC。
因此,您有2个选择:生成非响应式应用程序并使用SQL数据库,或生成响应式应用程序并使用noSQL数据库(MongoDB,Cassandra,Couchbase)。