-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got a "marked as broken because of SQLSTATE(08003), ErrorCode(0)" #9183
Comments
Hi @Lakshamana |
Is hostname 'localhost'? If yes, which port it is? |
How do you start your application ? Have you an ElasticSearch instance running ? |
#1: I start my application with terminal command: "mvn spring-boot:run" I still want to run it in dev mode, can I do it with a external elasticsearch instance? |
Ok, now I'm running with an external instance of elasticsearch with 3 terminal windows: one for running
I've even tested with a 4th window running |
I tested your configuration and everything works fine for me. In DEV, I need to start MySQL (using Docker) as you used it in development:
Then, I launch
In PROD, I need to start MySQL and Elasticsearch. I used our Docker configuration:
Then I package and launch the war in prod:
I'm pretty sure it's your computer or your tools, but as you didn't correctly complete the ticket, it is impossible to reproduce your issue, that's why I'm closing this one. If you filled correctly the template and give us information on how to reproduce the issue, we can reopen it. |
This ticket has been closed as the guidelines are not followed. Tickets must follow our Guidelines, as mentioned in: We have also created a template on the "create a new ticket" page to help you follow those guidelines. If this is indeed a JHipster bug, please open a new issue with proper details or update this issue with all details and request to reopen. If you have a question please use Stack Overflow, and tag the question with jhipster. This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:
|
If I use |
Hello, I got this error and I can say that checking the stacktrace (I'll show it below) seems it is related to elasticsearch. It says: "org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/home/arjuna/Documentos/Algoritmos/JHipster/spm/target/classes/br/ufpa/labes/spm/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository':"
My yo-rc.json file:
The whole exception log:
Thanks for replying!
The text was updated successfully, but these errors were encountered: