Closed gabjjc closed 3 weeks ago
Please cd into the project root folder and export the jhipster info command, what you have provided in this defect doesn't seem to have the .yo-rc.json file content.
INFO! Using bundled JHipster
██╗ ██╗ ██╗ ████████╗ ███████╗ ██████╗ ████████╗ ████████╗ ███████╗
██║ ██║ ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
██║ ████████║ ██║ ███████╔╝ ╚█████╗ ██║ ██████╗ ███████╔╝
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗ ╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝ https://www.jhipster.tech Welcome to JHipster v7.8.1
Welcome to the JHipster Information Sub-Generator
/Users/gabrielcasanova └── (empty)
cat: no such file or directory: .yo-rc.json
Sorry, this is mi jhipster info
INFO! Switching to JHipster installed locally in current project's node repository (node_modules)
██╗ ██╗ ██╗ ████████╗ ███████╗ ██████╗ ████████╗ ████████╗ ███████╗
██║ ██║ ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
██║ ████████║ ██║ ███████╔╝ ╚█████╗ ██║ ██████╗ ███████╔╝
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗ ╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝ https://www.jhipster.tech Welcome to JHipster v7.8.1
Welcome to the JHipster Information Sub-Generator
jp-test@0.0.1-SNAPSHOT /Volumes/GC/workspace/Pocks/JPTest └── generator-jhipster@7.8.1
.yo-rc.json
file generated in the root folder{ "generator-jhipster": { "applicationType": "monolith", "authenticationType": "jwt", "baseName": "JPTest", "blueprints": [], "buildTool": "maven", "cacheProvider": "no", "clientFramework": "react", "clientPackageManager": "npm", "clientTheme": "cyborg", "clientThemeVariant": "light", "creationTimestamp": 1655931075691, "databaseType": "sql", "devDatabaseType": "mysql", "devServerPort": 9060, "dtoSuffix": "DTO", "enableGradleEnterprise": false, "enableHibernateCache": false, "enableSwaggerCodegen": false, "enableTranslation": false, "entitySuffix": "", "jhiPrefix": "jhi", "jhipsterVersion": "7.8.1", "jwtSecretKey": "YourJWTSecretKeyWasReplacedByThisMeaninglessTextByTheJHipsterInfoCommandForObviousSecurityReasons", "languages": ["en", "fr"], "messageBroker": false, "nativeLanguage": "es", "otherModules": [], "packageName": "com.bobra.jptest", "pages": [], "prodDatabaseType": "mysql", "reactive": true, "searchEngine": false, "serverPort": "8080", "serverSideOptions": [], "serviceDiscoveryType": "eureka", "skipCheckLengthOfIdentifier": false, "skipFakeData": false, "skipUserManagement": false, "testFrameworks": [], "websocket": false, "withAdminUi": true } }
entityName.json
files generated in the .jhipster
directoryopenjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+0-b1504.28-7817840, mixed mode)
git version 2.35.1
node: v16.13.1
npm: 8.1.2
Docker version 20.10.11, build dea9396
docker-compose version 1.29.2, build 5becea4c
No change to package.json was detected. No package manager install will be executed. Congratulations, JHipster execution is complete! Sponsored with ❤️ by @oktadev.
It might sound crazy... I had the same issue right out of the box with the mysql-docker image but when I did a ./mvnw clean install -Dskiptests and then ./mvnw -Dskiptests worked fine. -Dskiptests is just to speed up the process...
Not sure why doing a clean install solved this issue.
Same here ... Is someone has understood this error... I'm new to Spring Mono stuffs and jhipster...
Exact same issue here with an out-of-the box JH-7.9.3/SB-2.7.3. MacOS 11.7.1 openjdk version "11.0.2"
A clean build seems to solve the issue every now and again but I have not discovered any pattern yet.
Any insight or work-around would be greatly appreciated.
Cheers.
I noticed the same issue when the input parameter passed through to the called function was not filled correctly. As an example I got in the console
Enter: registerToken() with argument[s] = [SocialUserVM{locale='en-US', nickname='nick1', idToken='{{user_token}}'}]
Then I understood that the input values {{user_token}}
was not filled from the Postman request
Hope it helps
I have the same problem when generating microservices, what happens is the following, I manage from the jh, I raise the consul or registry, I raise the gateway and at that moment it works normally until some change is made and the backend is recompiled, starting from That's why I have a problem with the image when trying to obtain the account with the jwt. Your help please
JHipster has completed the sample check
.yo-rc.json
: valid
Entities JDL: blank
Application: successfully generated
Frontend check: success
Backend check: success
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.
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
I building a new app from scratch. When up the app, this connect correctly with my mysql db, but, at the moment of login Account fail with error 500.
the only modification in my proyect is application-dev.yml, in this file set data connection for local environment.
StackTrace:
Hipster Info
INFO! Switching to JHipster installed locally in current project's node repository (node_modules)
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗ ╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝ https://www.jhipster.tech Welcome to JHipster v7.8.1
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
jp-test@0.0.1-SNAPSHOT /Volumes/GC/workspace/Pocks/JPTest └── generator-jhipster@7.8.1
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.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+0-b1504.28-7817840, mixed mode)
git version 2.35.1
node: v16.13.1
npm: 8.1.2
Docker version 20.10.11, build dea9396
docker-compose version 1.29.2, build 5becea4c
No change to package.json was detected. No package manager install will be executed. Congratulations, JHipster execution is complete! Sponsored with ❤️ by @oktadev.
macOs Monterey 12.4
Any suggestions?