Closed smunoz2 closed 6 months ago
This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days
JHipster has completed the sample check
.yo-rc.json
: valid
Entities JDL: valid
Application: successfully generated
Frontend check: success
Backend check: failure
E2E check: success
This check uses jhipster info
output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.
Overview of the issue
When I try to add an entity using the jdl feature I was getting the following error:
What I found is that I was using the a java reserved word "native" in one of my entities field. When I renamed the field to "nativePeople" it works.
Motivation for or Use Case
For me this is a bug because the stack error doesn't show a correct error when I run the jhipster jdl command or when I creating my entity in the JDL-Studio
Reproduce the error
Use the following entity to reproduce the error:
Related issues
No
Suggest a Fix
JHipster Version(s)
7.6.0
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 "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
git version 2.33.1
node: v16.6.2
npm: 7.20.6
Docker version 20.10.8, build 3967b7d
docker-compose version 1.29.2, build 5becea4c
Browsers and Operating System
MacOS