Closed mmarimuthu closed 4 years ago
It will be fixed in JHipster v6.9.0
@MathieuAA what is the temporary solution
As a workaround, you can use clientRootFolder Driver, CarDetails
explicitely. Or completely omit the option! this is automatically setup if you have the microservice option
@MathieuAA thanks I will check and get back
@MathieuAA Still the error persists. Could you help.
Alright, I need the modified JDL. Have you removed the redundant JDL app?
Keeping the microserviceName option is good though
@MathieuAA as per your comments i removed the existing jdl app and tried. It worked. Thanks for the the help..!!
Glad I could help, thanks for reporting the issue. If you need explanations on why this works, I'd be happy to detail everything.
@MathieuAA yes, Please provide a link if there is one. Also, my suggestion is that it will be helpful for the developers when we have a detailed 'Hello world' app steps. May be in https://www.jhipster.tech/ And description about the JDL file supported properties.
I should improve the docs on that part... Your example could have been improved because:
yo-rc.json
file as well as an app definition in the JDL (I suggest splitting the two like app.jdl
and entities.jdl
), that can help you avoid some weird issuesmicroserviceName
was redundant because you included the entities in your microservice appclientRootFolder
is automatically set if you have the microserviceName option or if you have a microservice app declaredHere, the issue was about something fairly stupid on my part, and thanks to you it's fixed (and released BTW).
I created a microservice in jhipster create Application. Created a jdl and attached the same to it. When running the jhipster import-jdl it raninto issue.
Checked the https://github.com/jhipster/jhipster-core/issues/252 but couldn't resolve it.
Attaching the yorc and jh file for reference jh.txt yo_rc.txt
Error:
Could not get an example with jdl for micoservice in official website.
edit
JDL:
.yo-rc.json file: