JHipster应用程序没有部署到Heroku

时间:2017-06-22 13:16:51

标签: heroku jhipster heroku-toolbelt

我正在尝试使用yo jhipster:heroku命令将我的jhipster应用程序部署到Heroku。但是应用程序没有启动。 ' heroku logs --tail'命令显示:

  

2017-06-22T13:06:43.498695 + 00:00 app [web.1]:2017-06-22 13:06:43.498 ERROR 4 --- [main] o.s.boot.SpringApplication:应用启动失败   2017-06-22T13:06:43.487869 + 00:00 app [web.1]:2017-06-22 13:06:43.482 WARN 4 --- [main] osboot.SpringApplication:错误处理失败(ApplicationEventMulticaster未初始化) - 在通过上下文组播事件之前调用'刷新:org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1458ed9c:启动日期[Thu Jan 01 00:00:00 UTC 1970]; parent:org。 springframework.context.annotation.AnnotationConfigApplicationContext@10e41621)   2017-06-22T13:06:43.498697 + 00:00 app [web.1]:   2017-06-22T13:06:43.498699 + 00:00 app [web.1]:org.springframework.beans.FatalBeanException:无法复制属性'密码'从源头到目标;嵌套异常是java.lang.reflect.InvocationTargetException

     

2017-06-22T13:06:43.498713 + 00:00 app [web.1]:引起:java.lang.reflect.InvocationTargetException:null   2017-06-22T13:06:43.498714 + 00:00 app [web.1]:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   2017-06-22T13:06:43.498715 + 00:00 app [web.1]:at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)   2017-06-22T13:06:43.498714 + 00:00 app [web.1]:at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)   2017-06-22T13:06:43.498716 + 00:00 app [web.1]:at java.lang.reflect.Method.invoke(Method.java:498)   2017-06-22T13:06:43.498716 + 00:00 app [web.1]:at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:617)   2017-06-22T13:06:43.498717 + 00:00 app [web.1]:...省略了16个常用帧   2017-06-22T13:06:43.498718 + 00:00 app [web.1]:引起:java.lang.IllegalStateException:无效的URL:$ {JHIPSTER_REGISTRY_URL} / config   2017-06-22T13:06:43.498719 + 00:00 app [web.1]:at org.springframework.cloud.config.client.ConfigClientProperties.extractCredentials(ConfigClientProperties.java:258)   2017-06-22T13:06:43.498719 + 00:00 app [web.1]:at org.springframework.cloud.config.client.ConfigClientProperties.getPassword(ConfigClientProperties.java:170)   2017-06-22T13:06:43.498720 + 00:00 app [web.1]:...省略了21个常用帧   2017-06-22T13:06:43.498721 + 00:00 app [web.1]:   2017-06-22T13:06:48.579401 + 00:00 heroku [web.1]:使用命令java $JAVA_OPTS -Xmx256m -jar target/*.war --spring.profiles.active=prod,heroku --server.port=46450启动流程   2017-06-22T13:06:49.784412 + 00:00 app [web.1]:根据dyno大小设置JAVA_TOOL_OPTIONS默认值。自定义设置将覆盖它们。   2017-06-22T13:06:49.787364 + 00:00 app [web.1]:拿起JAVA_TOOL_OPTIONS:-Xmx350m -Xss512k -Dfile.encoding = UTF-8   2017-06-22T13:06:55.512505 + 00:00 heroku [web.1]:状态从开始变为崩溃   2017-06-22T13:06:55.502911 + 00:00 heroku [web.1]:进程退出状态1   2017-06-22T13:06:55.402089 + 00:00 app [web.1]:2017-06-22 13:06:55.397 WARN 4 --- [main] osboot.SpringApplication:错误处理失败(ApplicationEventMulticaster未初始化 - 在通过上下文组播事件之前调用'刷新:org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@10a9d961:启动日期[Thu Jan 01 00:00:00 UTC 1970]; parent:org。 springframework.context.annotation.AnnotationConfigApplicationContext@10e41621)   2017-06-22T13:06:55.412301 + 00:00 app [web.1]:   2017-06-22T13:06:55.362819 + 00:00 app [web.1] ::: JHipster ::运行Spring Boot 1.5.3.RELEASE ::   2017-06-22T13:06:55.412303 + 00:00 app [web.1]:at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:625)   2017-06-22T13:06:55.412298 + 00:00 app [web.1]:2017-06-22 13:06:55.411 ERROR 4 --- [main] o.s.boot.SpringApplication:应用程序启动失败   2017-06-22T13:06:55.412303 + 00:00 app [web.1]:at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:537)   2017-06-22T13:06:55.412304 + 00:00 app [web.1]:at org.springframework.cloud.config.client.ConfigClientProperties.override(ConfigClientProperties.java:317)   2017-06-22T13:06:55.412306 + 00:00 app [web.1]:at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:93)   2017-06-22T13:06:55.412302 + 00:00 app [web.1]:org.springframework.beans.FatalBeanException:无法复制属性'密码'从源头到目标;嵌套异常是java.lang.reflect.InvocationTargetException   2017-06-22T13:06:55.412307 + 00:00 app [web.1]:at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:611)

0 个答案:

没有答案