Closed kacetal closed 4 years ago
The issue is that you treat the BorrowerStatus, BookStoreStatus as if they were actual classes (entities), they aren't. For JHipster an enum it's just another type.
You can't use enums in option declarations (search ..., microservice ...) and when you use the entities
keyword when declaring an application.
Hope I've been clear, if not, do tell me, I'll go over the explanation.
Thanks, it's clear
Motivation for or Use Case
Reproduce the error
jhipster import-jdl app.jdl
app.jdl
Related issues
176 Import of Microservice Entity Fails
Suggest a Fix
JHipster Version(s)
JHipster configuration
jhipster info
INFO! Using JHipster version installed globally INFO! Executing jhipster:info INFO! Options: from-cli: true Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
cat: no such file or directory: .yo-rc.json
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "12.0.2" 2019-07-16 OpenJDK Runtime Environment (build 12.0.2+10) OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
git version 2.17.1
node: v12.13.0
npm: 6.12.0
yeoman: 3.1.1
yarn: 1.19.2
Docker version 19.03.5, build 633a0ea838
docker-compose version 1.24.1, build 4667896b
INFO! Congratulations, JHipster execution is complete!
=================
INFO! Using JHipster version installed globally INFO! Executing jhipster:info INFO! Options: from-cli: true Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "12.0.2" 2019-07-16 OpenJDK Runtime Environment (build 12.0.2+10) OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
git version 2.17.1
node: v12.13.0
npm: 6.12.0
yeoman: 3.1.1
yarn: 1.19.2
Docker version 19.03.5, build 633a0ea838
docker-compose version 1.24.1, build 4667896b
INFO! Congratulations, JHipster execution is complete!
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
Ubuntu 18.04