Hipster stack for Java developers. Spring Boot + Angular in one handy generator.
Hi All, I am trying to use jhipster to generate microservice applications. The back-end code of entity generated by jhipster JDL is in microservice applications, and the front-end code generated is in gateway application .
If in gateway_app \ webpack \environment.js Configure SERVER_API_URL: '' ", then when I operate the generated front-end UI , it calls the URL of the back-end micro service with the address of / API / entities, but the back-end address that needs to be called through the gateway should be / services / app1 / API / entities1
If I set SERVER_API_URL in webpack \environment.js as '' gateway / services / app1 ", then the account address called during OAuth authentication becomes http://gateway/services/app1/api/account , resulting in authentication failure.
How to configure and solve the above problems, thank you for your suggestions.
Hi everyone,
Just tried today to limit the permissions I needed to update my application in aws beanstalk, so that I don't have to give:
I ended up with just AdministratorAccess-AWSElasticBeanstalk plus a policy with the following actions:
Though I've only tried it with an update, most of the resources (rds, bucket, beanstalk environment) were already created.
Sharing here in case it's useful to anyone..
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 Authentication Credentials Invalid at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:440)
Error: error TS100: Can't resolve all parameters for JhiTranslateDirective in node_modules/ng-jhipster/ng-jhipster.d.ts: ([object Object], [object Object], ?).
<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
Hi, I'm new to JHipster. I downloaded a blueprint et personalized it, but when I try to launch a project with my blueprint, I get an error message and can't find how to fix it. Does someone have an idea? Thanks!
INFO! Using bundled JHipster
node:assert:399
throw err;
^
AssertionError [ERR_ASSERTION]: Error on the registered namespace jhipster-my-blueprint:app, make sure your folder is called generator-jhipster.
at C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:118:7
at Array.forEach (<anonymous>)
at EnvironmentBuilder._lookupJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:116:94)
at EnvironmentBuilder.prepare (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:89:10)
at buildJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:250:44)
at runJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:269:10)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\cli.js:23:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at requireCLI (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:74:3)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:48:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
@MinhDao99
Hello everyone I am new on jhipster. I am doing demo jhipster and have a error. Can you help me?
<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)