jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

Database type is required to validate entities #19115

Closed KiraLis39 closed 2 years ago

KiraLis39 commented 2 years ago
Overview of the issue

Внезапно не могу импортировать jdl. Ввожу команду, как всегда jhipster import-jdl c:\jhipster-jdl.jdl Получаю почти сразу же ошибку: ERROR! Error during import-jdl: Database type is required to validate entities. ` Welcome to JHipster v7.8.1

INFO! Executing import-jdl c:\jhipster-jdl.jdl INFO! The JDL is being parsed. Error: Database type is required to validate entities. Error while parsing applications and entities from the JDL Error: Database type is required to validate entities. Error: Database type is required to validate entities. `

ОС: Windows 10 64x LTSE

У меня файл ".yo-rc.json" уже имеет строки "databaseType": "sql", "devDatabaseType": "postgresql", "prodDatabaseType": "postgresql",

Так же в application.yml есть: spring: jpa: database-platform: tech.jhipster.domain.util.FixedPostgreSQL10Dialect database: postgresql show-sql: true

Что ещё не так?!

KiraLis39 commented 2 years ago

Всё, разобрался -_- У меня терминал второй не в ту папку был открыт в Idea. Хоть бы писали, что "файл не обнаружен в такой-то папке" или типа того..