jdl

JHipster JDL not generating anything because the database type must be passed

夙愿已清 提交于 2019-12-20 05:43:13
问题 I'm using Jhipster 4.5.3 to generate some code from a JDL file I've created. Because I couldn't generate anything, I took the JDL Blog sample... and I have the same issues. The JDL documentation still mentions : You can generate entities from a JDL file by running jhipster import-jdl your-jdl-file.jh But when I do that I get : The jdl is being parsed. { name: 'NullPointerException', message: 'The parsed JDL content and the database type must be passed.', Looking at the code, it looks like we

JHipster JDL not generating anything because the database type must be passed

风格不统一 提交于 2019-12-02 08:31:26
I'm using Jhipster 4.5.3 to generate some code from a JDL file I've created. Because I couldn't generate anything, I took the JDL Blog sample ... and I have the same issues. The JDL documentation still mentions : You can generate entities from a JDL file by running jhipster import-jdl your-jdl-file.jh But when I do that I get : The jdl is being parsed. { name: 'NullPointerException', message: 'The parsed JDL content and the database type must be passed.', Looking at the code , it looks like we have to pass a new parameter, the database type (this is not mentioned in the doc BTW). Looking at