Closed devMaheshJava closed 6 years ago
I can't reproduce the errors using JHipster 4.13.3, see https://github.com/gmarziou/jh-6982
I only got lint warnings because you named your entities with underscores.
Is it the first JDL import you did or did you make several iterations? My hypothesis is that you did not delete previously generated files.
So I'm closing it as it seems to be an issue on your side.
Yeah, it's my first jdl import to this project. At first time only I got this error and I don't know what I did wrong.So I rolled back to previous HEAD version and I again tried.But this time also got same issue.
Well try the project I shared and build it, if it works compare with yours. Rolling back to HEAD does not mean that obsolete files are removed, especially if you renamed some entities.
Difference between you and I is that I started from empty directory, copied your .yo-rc.json
run jhipster
then jhipster import-jdl entities.jh
, so I'm sure my project is clean while I'm not sure for yours.
By the way, I'd recommend that you stick with our naming conventions for entities: use camel case and not snake case as it can only bring trouble. So rename Device_Service_Actual to DeviceServiceActual
Overview of the issue
Motivation for or Use Case : To create the entities
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)
Environment and Tools
JHipster configuration
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Browsers and Operating System