JHipster Springboot应用程序因Heroku失败

时间:2018-04-06 21:53:09

标签: spring-boot heroku jhipster

我尝试将JHipster生成的SpringBoot应用程序部署到Heroku,但它失败了,因为这个错误,我使用JHipster方式来部署我的应用程序https://www.jhipster.tech/heroku/,任何想法? :

2018-04-06T21:28:57.412612+00:00 app[web.1]: 21:28:57.412 [main] ERROR org.springframework.boot.SpringApplication - Application startup failed

2018-04-06T21:28:57.412615+00:00 app[web.1]: java.lang.IllegalStateException: Failed to load property source from location 'classpath:/config/application-prod.yml'

2018-04-06T21:28:57.412617+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadIntoGroup(ConfigFileApplicationListener.java:476)

2018-04-06T21:28:57.412618+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:450)

2018-04-06T21:28:57.412619+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:386)

2018-04-06T21:28:57.412620+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:225)

2018-04-06T21:28:57.412621+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:195)

2018-04-06T21:28:57.412626+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:182)

2018-04-06T21:28:57.412627+00:00 app[web.1]:    at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:168)

2018-04-06T21:28:57.412628+00:00 app[web.1]:    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)

0 个答案:

没有答案