You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-12-29 20:34:49.189 INFO 1 --- [ main] com.test.uaa.UaaApp : The following profiles are active: prod,swagger
2020-12-29 20:34:51.667 WARN 1 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2020-12-29 20:34:52.527 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webConfigurer' defined in file [/app/classes/com/test/uaa/config/WebConfigurer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'io.github.jhipster.config.JHipsterProperties': Could not bind properties to 'JHipsterProperties' : prefix=jhipster, ignoreInvalidFields=false, ignoreUnknownFields=false; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'jhipster' to io.github.jhipster.config.JHipsterProperties
Origin: class path resource [config/application-prod.yml]:119:36
Reason: The elements [jhipster.cache.authentication.jwt.token-validity-in-seconds,jhipster.cache.authentication.jwt.token-validity-in-seconds-for-remember-me] were left unbound.
Origin: class path resource [config/application-prod.yml]:121:52
Reason: The elements [jhipster.cache.authentication.jwt.token-validity-in-seconds,jhipster.cache.authentication.jwt.token-validity-in-seconds-for-remember-me] were left unbound.
Action:
Update your application's configuration
which conf ??
The text was updated successfully, but these errors were encountered:
Could you please provide more information about the JHipster version you used?
To provide all information we need, you should run jhipster info in the project root folder, and
copy/paste the result here.
The .yo-rc.json file generated in the root folder is mandatory for bug reports. This will help us to replicate the scenario.
You should remove any sensitive information like the rememberMe key or the jwtSecretKey key.
If You mean Which Configuration File You have to Update To get This work it's the application-prod.yml and By default both of these options exist on the dev and prod profiles configuration in JHipster version 6.10.5 with i have used.
so you probably messed up the prod configuration profile.
scenario: https://start.jhipster.tech/generate-application
then run :
error:
The application will start in 30s...
Picked up _JAVA_OPTIONS: -Xmx512m -Xms256m
██╗ ██╗ ██╗ ████████╗ ███████╗ ██████╗ ████████╗ ████████╗ ███████╗
██║ ██║ ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
██║ ████████║ ██║ ███████╔╝ ╚█████╗ ██║ ██████╗ ███████╔╝
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
:: JHipster 🤓 :: Running Spring Boot 2.2.7.RELEASE ::
:: https://www.jhipster.tech ::
2020-12-29 20:34:49.189 INFO 1 --- [ main] com.test.uaa.UaaApp : The following profiles are active: prod,swagger
2020-12-29 20:34:51.667 WARN 1 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2020-12-29 20:34:52.527 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webConfigurer' defined in file [/app/classes/com/test/uaa/config/WebConfigurer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'io.github.jhipster.config.JHipsterProperties': Could not bind properties to 'JHipsterProperties' : prefix=jhipster, ignoreInvalidFields=false, ignoreUnknownFields=false; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'jhipster' to io.github.jhipster.config.JHipsterProperties
2020-12-29 20:34:52.554 ERROR 1 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Binding to target [Bindable@9ae0794 type = io.github.jhipster.config.JHipsterProperties, value = 'provided', annotations = array[@org.springframework.boot.context.properties.ConfigurationProperties(ignoreInvalidFields=false, ignoreUnknownFields=false, prefix=jhipster, value=jhipster)]] failed:
Property: jhipster.cache.authentication.jwt.token-validity-in-seconds
Value: 300
Origin: class path resource [config/application-prod.yml]:119:36
Reason: The elements [jhipster.cache.authentication.jwt.token-validity-in-seconds,jhipster.cache.authentication.jwt.token-validity-in-seconds-for-remember-me] were left unbound.
Property: jhipster.cache.authentication.jwt.token-validity-in-seconds-for-remember-me
Value: 252000
Origin: class path resource [config/application-prod.yml]:121:52
Reason: The elements [jhipster.cache.authentication.jwt.token-validity-in-seconds,jhipster.cache.authentication.jwt.token-validity-in-seconds-for-remember-me] were left unbound.
Action:
Update your application's configuration
which conf ??
The text was updated successfully, but these errors were encountered: