- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
很抱歉,如果这个问题重复出现,但我在其他问题中找不到解决方案。
我正在尝试在 heroku 上部署我的 Spring-boot
应用程序。我正在托管数据库,但当我尝试部署时,我在 heroku 的日志中收到此错误。
2016-01-29T05:08:05.730937+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" h
ost=naturaapp.herokuapp.com request_id=39586950-d3fb-463c-9b21-458ae41b2f36 fwd="190.139.xx.xxx" dyno= connect= service=
status=503 bytes=
2016-01-29T05:08:06.641002+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/fav
icon.ico" host=naturaapp.herokuapp.com request_id=75e51dfb-58f1-4524-9a66-52605573097e fwd="190.139.xx.xxx" dyno= connec
t= service= status=503 bytes=
我不知道我做错了什么,有人可以解释我该怎么做吗?
我已经使用命令 heroku ps:scale web
但仍然出现相同的错误。
如果你需要我的代码,请告诉我!
谢谢!
更新
在使用 web: java -Dserver.port=$PORT -jar target/*.jar
添加我的 Procfile
之后
我的日志中出现以下错误:
PS C:\Users\Paulo> heroku logs --tail --app naturaapp
2016-01-29T23:59:37.000435+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2016-01-29T23:59:36.950259+00:00 app[web.1]: 2016-01-29 23:59:36.950 INFO 3 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2016-01-29T23:59:37.000476+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-01-29T23:59:37.000281+00:00 app[web.1]: java.lang.reflect.InvocationTargetException
2016-01-29T23:59:37.000644+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2016-01-29T23:59:37.000899+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
2016-01-29T23:59:37.000537+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2016-01-29T23:59:37.000841+00:00 app[web.1]: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2016-01-29T23:59:37.000981+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
2016-01-29T23:59:37.001276+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
2016-01-29T23:59:37.000592+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
2016-01-29T23:59:37.001057+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
2016-01-29T23:59:37.001206+00:00 app[web.1]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
2016-01-29T23:59:37.001422+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054)
2016-01-29T23:59:37.001603+00:00 app[web.1]: at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
2016-01-29T23:59:37.001134+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
2016-01-29T23:59:37.001349+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2016-01-29T23:59:37.001717+00:00 app[web.1]: at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:357)
2016-01-29T23:59:37.001512+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829)
2016-01-29T23:59:37.001860+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:1113)
2016-01-29T23:59:37.001810+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:305)
2016-01-29T23:59:37.001812+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:1124)
2016-01-29T23:59:37.001661+00:00 app[web.1]: at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:764)
2016-01-29T23:59:37.002285+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:205)
2016-01-29T23:59:37.002345+00:00 app[web.1]: at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
2016-01-29T23:59:37.001914+00:00 app[web.1]: at com.arg.juy.natura.NaturaApplication.main(NaturaApplication.java:19)
2016-01-29T23:59:37.001987+00:00 app[web.1]: ... 6 more
2016-01-29T23:59:37.002119+00:00 app[web.1]: Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2016-01-29T23:59:37.001543+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
2016-01-29T23:59:37.002217+00:00 app[web.1]: at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:104)
2016-01-29T23:59:37.002479+00:00 app[web.1]: at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
2016-01-29T23:59:37.002615+00:00 app[web.1]: at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
2016-01-29T23:59:37.002671+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
2016-01-29T23:59:37.002221+00:00 app[web.1]: at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:71)
2016-01-29T23:59:37.002409+00:00 app[web.1]: at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
2016-01-29T23:59:37.002556+00:00 app[web.1]: at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
2016-01-29T23:59:37.002737+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
2016-01-29T23:59:37.002806+00:00 app[web.1]: at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
2016-01-29T23:59:37.003012+00:00 app[web.1]: at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
2016-01-29T23:59:37.003082+00:00 app[web.1]: at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
2016-01-29T23:59:37.002864+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
2016-01-29T23:59:37.002959+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60)
2016-01-29T23:59:37.003136+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
2016-01-29T23:59:37.003239+00:00 app[web.1]: ... 22 more
2016-01-29T23:59:37.003194+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
2016-01-29T23:59:36.895820+00:00 app[web.1]: 2016-01-29 23:59:36.895 WARN 3 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2016-01-29T23:59:36.957188+00:00 app[web.1]: java.lang.Object.wait(Native Method)
2016-01-29T23:59:36.957183+00:00 app[web.1]: 2016-01-29 23:59:36.957 WARN 3 --- [ost-startStop-1] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
2016-01-29T23:59:36.957190+00:00 app[web.1]: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
2016-01-29T23:59:36.957191+00:00 app[web.1]: com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
2016-01-29T23:59:36.989715+00:00 app[web.1]: 2016-01-29 23:59:36.988 ERROR 3 --- [ main] o.s.boot.SpringApplication : Application startup failed
2016-01-29T23:59:36.989720+00:00 app[web.1]:
2016-01-29T23:59:36.989722+00:00 app[web.1]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.HibernateException:Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2016-01-29T23:59:36.989724+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989725+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989726+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989727+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989729+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989728+00:00 app[web.1]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989729+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989731+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989738+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989740+00:00 app[web.1]: at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989739+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989741+00:00 app[web.1]: at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:764) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989741+00:00 app[web.1]: at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:357) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989742+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989743+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:1113) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989743+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:1124) [spring-boot-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]
2016-01-29T23:59:36.989744+00:00 app[web.1]: at com.arg.juy.natura.NaturaApplication.main(NaturaApplication.java:19)[Natura-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
2016-01-29T23:59:36.989745+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72-cedar14]
2016-01-29T23:59:36.989746+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72-cedar14]
2016-01-29T23:59:36.989747+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72-cedar14]
2016-01-29T23:59:36.989747+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72-cedar14]
2016-01-29T23:59:36.989748+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [Natura-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
2016-01-29T23:59:36.989749+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-cedar14]
2016-01-29T23:59:36.989750+00:00 app[web.1]: Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2016-01-29T23:59:36.989756+00:00 app[web.1]: at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:104) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989762+00:00 app[web.1]: at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:71) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989763+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:205) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989763+00:00 app[web.1]: at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989764+00:00 app[web.1]: at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989764+00:00 app[web.1]: at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989765+00:00 app[web.1]: at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989766+00:00 app[web.1]: at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989771+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989773+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989772+00:00 app[web.1]: at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850) ~[hibernate-entitymanager-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989773+00:00 app[web.1]: at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425) ~[hibernate-core-4.3.11.Final.jar!/:4.3.11.Final]
2016-01-29T23:59:36.989775+00:00 app[web.1]: at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989774+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989775+00:00 app[web.1]: at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) ~[spring-orm-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989778+00:00 app[web.1]:
2016-01-29T23:59:36.989778+00:00 app[web.1]: ... 22 common frames omitted
2016-01-29T23:59:36.989777+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.989776+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring-beans-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
2016-01-29T23:59:36.999565+00:00 app[web.1]: 2016-01-29 23:59:36.999 WARN 3 --- [ main] o.s.boot.SpringApplication : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.RuntimeException: Could not postProcess org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@61a1574f of typeclass org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler)
2016-01-29T23:59:38.029307+00:00 heroku[web.1]: Process exited with status 1
2016-01-29T23:59:38.042223+00:00 heroku[web.1]: State changed from starting to crashed
2016-01-29T23:59:40.076012+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=naturaapp.herokuapp.com request_id=8e5f90d5-40eb-470e-a765-f13eaa718b4d fwd="190.139.13.247" dyno= connect= service= status=503 bytes=
2016-01-29T23:59:41.412282+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=naturaapp.herokuapp.com request_id=47328aa0-860c-46ef-a345-4b17190a8329 fwd="190.139.13.247" dyno= connect= service= status=503 bytes=
而我的application.properties
拥有在部署中找不到的所有信息
db.driver: org.postgresql.Driver
db.url: jdbc:postgresql://190.139.xx.xxx:5432/poo2015
db.username: pooxxxx
db.password: pooxxxx
# Hibernate
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
hibernate.show_sql: true
hibernate.hbm2ddl.auto: update
entitymanager.packagesToScan: com.arg.juy.natura
最佳答案
很抱歉,如果这个回答太迟了。
该错误是因为部署超过了连接到我的本地数据库的超时时间。我使用 heroku 免费提供给我的数据库解决了 ot。
关于spring - Heroku H14(没有网络进程在运行)+ Spring-boot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35077533/
我正在尝试使用 Heroku Scheduler 在已部署的 Heroku 应用程序中调用 HTTP 端点,它基本上以固定速率在 Heroku bash 上运行命令。 当我运行 $ heroku ru
我有一个在 Heroku 上运行的应用程序,其中有一些我想不时更改的设置,并且我想使用 Heroku 配置变量来存储这些设置,以便它们持久存在。 我知道我可以从 Heroku 仪表板或 Heroku
我从模板 reagent-frontend 创建了一个 ClojureScript Reagent 应用程序。如何将生产应用程序部署到 Heroku?在为生产构建后(lein package/lein
我正在尝试在 heroku 上添加信用卡,然后消息显示“无法验证您的卡,请稍后再试或联系您的金融机构寻求帮助” 最佳答案 这是因为您的银行拒绝付款。 检查您是否输入了所有正确的详细信息 查看您银行的最
首先为我的英语感到抱歉,因为它不是我的母语,我不习惯它,它可能很难理解。 我正在尝试将我的 spike 应用程序连接到 heroku 以获取长期葡萄糖数据。 我在没有“部署分支”步骤的情况下成功完成了
Ec2 实例小时按小时计算。如果你只是启动和关闭一个实例,它仍然算作一小时。 Heroku 如何处理这个?按分钟还是按小时? 让我们假设我的应用程序使用超过 750 免费 Dyno 小时限制 最佳答案
好奇 heroku 如何创建应用程序名称。应用程序名称通常是英文单词,例如bloom-peaks 或formal-trail。一家大公司的 IT 部门也是如此。是否有用于名称生成的 unix 库? 最
有没有人在 Heroku 上成功使用过 docsplit?它有许多二进制依赖项。我已经搜索过,但没有找到任何人这样做。教程会很棒,但我真的很好奇其他人是否成功。 最佳答案 我的搜索没有找到任何做过这件
我想将一个应用程序部署到需要能够生成加密安全随机数的 heroku。我可以使用哪些熵源? 最佳答案 你的 Heroku dyno 基本上是一个 Ubuntu 服务器虚拟机,所以你应该可以访问 /dev
Heroku 可以显示自定义维护页面: heroku config:set MAINTENANCE_PAGE_URL=http://some_server/my_page.html 这需要某些网站的存
我正在开始使用 Heroku,并担心它是否会因我犯的错误而向我收费。例如,填充数据库超过 5MB。 那么,有没有办法为 Heroku 或通知系统设置计费限制,以便在我超过价格限制时发送通知? 先感谢您
如何更新我的 Heroku ,我的 Windows 终端显示以下内容: » Warning: heroku update available from 7.47.7 to 7.52.0. 请帮忙
我在免费的 Dyno 上运行基于 NodeJS 的应用程序,连接到 mongohq-MongoDB。我想迁移它以使用爱好 Dyno,这样做的动机不仅是避免 sleep 时间,而且是为了实现更高的 HT
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 9年前关闭。 Improve this q
如何将我的生产数据库拉到 heroku 上的暂存服务器? 我有两个 Remote ,production 和 staging。 来自documentation看来我想运行 heroku pg:copy
我有一个域example.com,我想将它用于位于example.herokuapp.com 的rails-app,我很困惑如何去做。 Heroku says "Zone apex domains (
我有一个 sinatra 应用程序,其中有一个 yml 文件来设置环境变量,我使用此方法调用它们 module MyConfig def config environment = ENV["RA
根据各种因素,一整天中,我的应用程序的负载可能会出现非常极端的增加。 那时,我想自动增加测功机的数量。 我想增加加载时间。因此,如果加载页面需要X倍的时间,请增加测功力。否则,请往下走。 这样的东西存
我想知道使用heroku工具栏在heroku帐户之间进行切换的最佳方法是什么。 我曾经有一个个人的heroku帐户,它是我所有职业性的heroku应用程序的协作者。问题是当我想进行一些对财务有影响的更
是否可以停止部署到当前正在构建的 Heroku ( git push heroku )? 类似 heroku run stopit! 顺便提一句。成功部署后回滚不是我想要的。 最佳答案 首先,安装He
我是一名优秀的程序员,十分优秀!