Error when starting jHipster application on heroku

不想你离开。 提交于 2019-12-12 05:59:34

问题


i'm using jhipster 4.5.6. I'm trying to run my application on heroku and i'm getting this error when executing this code on in main class:

Environment env = app.run(args).getEnvironment();

2017-06-24 17:35:32.293 ERROR 4 --- [ main] o.s.boot.SpringApplication : Application startup failed 2017-06-24T17:35:32.294416+00:00 app[web.1]: 2017-06-24T17:35:32.294418+00:00 app[web.1]: org.springframework.beans.FatalBeanException: Could not copy property 'password' from source to target; nested exception is java.lang.reflect.InvocationTargetException


回答1:


You generated a monolith app with service discovery enabled, this is why your app expects JHipster registry URL to be configured. You should edit your .yo-rc.json file and set "serviceDiscoveryType": false and re-generate your app with yo jhipster --with-entities.



来源:https://stackoverflow.com/questions/44739617/error-when-starting-jhipster-application-on-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!