generator-jhipster: Error on generating UI entity in gateway
Overview of the issue
I generated entity “prestations” in the related microservice with command jhipster entity prestations
then when I wanted to generate the UI of the entity in gateway, I got the error
ERROR! Microservice name for the entity is not found. Entity cannot be generated!
Motivation for or Use Case
I can’t generate the related UI entity in gateway and I have read similar tickets but i did not get the point how I can solve this problem. I hope I could find a solution here
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)
gateway@0.0.0 /home/scalpaine/careshop/gateway └── generator-jhipster@4.10.2 (not a regression)
JHipster configuration
.yo-rc.json file
{
"generator-jhipster": {
"promptValues": {
"packageName": "com.mycompany.myapp",
"nativeLanguage": "fr"
},
"jhipsterVersion": "4.10.2",
"baseName": "gateway",
"packageName": "com.mycompany.myapp",
"packageFolder": "com/mycompany/myapp",
"serverPort": "8080",
"authenticationType": "jwt",
"hibernateCache": "hazelcast",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "postgresql",
"searchEngine": "elasticsearch",
"messageBroker": false,
"serviceDiscoveryType": "eureka",
"buildTool": "maven",
"enableSocialSignIn": false,
"enableSwaggerCodegen": false,
"jwtSecretKey": "replaced-by-jhipster-info",
"clientFramework": "angularX",
"useSass": false,
"clientPackageManager": "yarn",
"applicationType": "gateway",
"testFrameworks": [
"gatling",
"cucumber",
"protractor"
],
"jhiPrefix": "jhi",
"enableTranslation": true,
"nativeLanguage": "fr",
"languages": [
"fr",
"en",
"pt-br",
"es"
]
}
}
Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
Browsers and Operating System
OS: Ubuntu 17.10
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (9 by maintainers)
I’m closing this as this looks solved, just add a comment if you still have an issue and I will reopen it