Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Web进程在启动后90秒内绑定到$PORT失败_Java_Maven_Heroku - Fatal编程技术网

Java Web进程在启动后90秒内绑定到$PORT失败

Java Web进程在启动后90秒内绑定到$PORT失败,java,maven,heroku,Java,Maven,Heroku,我正在尝试在heroku上部署一个简单的spring boot应用程序,其中包含一个REST。该应用程序位于以下位置: 我的Procfile如下所示 web: java -jar target/java-cloud-sample-0.0.1-SNAPSHOT.jar -Dserver.port=$PORT -----> Java app detected -----> Installing JDK... version 9 installed -----> Installin

我正在尝试在heroku上部署一个简单的
spring boot
应用程序,其中包含一个
REST
。该应用程序位于以下位置:

我的
Procfile
如下所示

web: java -jar target/java-cloud-sample-0.0.1-SNAPSHOT.jar -Dserver.port=$PORT
-----> Java app detected
-----> Installing JDK... version 9 installed
-----> Installing Maven... version 3.5.0 installed
-----> Maven home: /app/tmp/cache/.maven
-----> Java home: /tmp/build_26e32238a62f5da3214e452f0481421a/.jdk
-----> Build dir: /tmp/build_26e32238a62f5da3214e452f0481421a
-----> Executing build...
       mvn -B -Duser.home=/tmp/build_26e32238a62f5da3214e452f0481421a -Dmaven.repo.local=/app/tmp/cache/.m2/repository -DskipTests=true -U clean install
       [INFO] MAVEN_OPTS=-Xmx384m -Xss128m
       [INFO] ------------------------------------------------------------------------
       [INFO] Scanning for projects...
       [INFO] 
       [INFO] ------------------------------------------------------------------------
       [INFO] Building java-cloud-sample 0.0.1-SNAPSHOT
       [INFO] ------------------------------------------------------------------------
       [INFO] 
       [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ java-cloud-sample ---
       [INFO] 
       [INFO] --- spring-boot-maven-plugin:1.5.6.RELEASE:build-info (default) @ java-cloud-sample ---
       [INFO] 
       [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ java-cloud-sample ---
       [INFO] Using 'UTF-8' encoding to copy filtered resources.
       [INFO] Copying 1 resource
       [INFO] Copying 0 resource
       [INFO] 
       [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ java-cloud-sample ---
       [INFO] Required automodules detected. Please don't publish this project to a public artifact repository!
       [INFO] Changes detected - recompiling the module!
       [INFO] Compiling 3 source files to /tmp/build_26e32238a62f5da3214e452f0481421a/target/classes
       [INFO] 
       ....          
       [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ java-cloud-sample ---
       [INFO] Installing /tmp/build_26e32238a62f5da3214e452f0481421a/target/java-cloud-sample-0.0.1-SNAPSHOT.jar to /app/tmp/cache/.m2/repository/com/lapots/breed/platform/cloud/java-cloud-sample/0.0.1-SNAPSHOT/java-cloud-sample-0.0.1-SNAPSHOT.jar
       [INFO] Installing /tmp/build_26e32238a62f5da3214e452f0481421a/pom.xml to /app/tmp/cache/.m2/repository/com/lapots/breed/platform/cloud/java-cloud-sample/0.0.1-SNAPSHOT/java-cloud-sample-0.0.1-SNAPSHOT.pom
       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD SUCCESS
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 15.037 s
       [INFO] Finished at: 2017-09-03T14:01:08Z
       [INFO] Final Memory: 32M/107M
       [INFO] ------------------------------------------------------------------------
-----> Cleaning enviroment
       - Deleting local Maven repository... done
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 309.9M
-----> Launching...
 !     Warning: Your slug size exceeds our soft limit (309 MB) which may affect boot time.
   Released v7
   https://java-cloud-sample.herokuapp.com/ deployed to Heroku
heroku上的构建日志如下所示

web: java -jar target/java-cloud-sample-0.0.1-SNAPSHOT.jar -Dserver.port=$PORT
-----> Java app detected
-----> Installing JDK... version 9 installed
-----> Installing Maven... version 3.5.0 installed
-----> Maven home: /app/tmp/cache/.maven
-----> Java home: /tmp/build_26e32238a62f5da3214e452f0481421a/.jdk
-----> Build dir: /tmp/build_26e32238a62f5da3214e452f0481421a
-----> Executing build...
       mvn -B -Duser.home=/tmp/build_26e32238a62f5da3214e452f0481421a -Dmaven.repo.local=/app/tmp/cache/.m2/repository -DskipTests=true -U clean install
       [INFO] MAVEN_OPTS=-Xmx384m -Xss128m
       [INFO] ------------------------------------------------------------------------
       [INFO] Scanning for projects...
       [INFO] 
       [INFO] ------------------------------------------------------------------------
       [INFO] Building java-cloud-sample 0.0.1-SNAPSHOT
       [INFO] ------------------------------------------------------------------------
       [INFO] 
       [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ java-cloud-sample ---
       [INFO] 
       [INFO] --- spring-boot-maven-plugin:1.5.6.RELEASE:build-info (default) @ java-cloud-sample ---
       [INFO] 
       [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ java-cloud-sample ---
       [INFO] Using 'UTF-8' encoding to copy filtered resources.
       [INFO] Copying 1 resource
       [INFO] Copying 0 resource
       [INFO] 
       [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ java-cloud-sample ---
       [INFO] Required automodules detected. Please don't publish this project to a public artifact repository!
       [INFO] Changes detected - recompiling the module!
       [INFO] Compiling 3 source files to /tmp/build_26e32238a62f5da3214e452f0481421a/target/classes
       [INFO] 
       ....          
       [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ java-cloud-sample ---
       [INFO] Installing /tmp/build_26e32238a62f5da3214e452f0481421a/target/java-cloud-sample-0.0.1-SNAPSHOT.jar to /app/tmp/cache/.m2/repository/com/lapots/breed/platform/cloud/java-cloud-sample/0.0.1-SNAPSHOT/java-cloud-sample-0.0.1-SNAPSHOT.jar
       [INFO] Installing /tmp/build_26e32238a62f5da3214e452f0481421a/pom.xml to /app/tmp/cache/.m2/repository/com/lapots/breed/platform/cloud/java-cloud-sample/0.0.1-SNAPSHOT/java-cloud-sample-0.0.1-SNAPSHOT.pom
       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD SUCCESS
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 15.037 s
       [INFO] Finished at: 2017-09-03T14:01:08Z
       [INFO] Final Memory: 32M/107M
       [INFO] ------------------------------------------------------------------------
-----> Cleaning enviroment
       - Deleting local Maven repository... done
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 309.9M
-----> Launching...
 !     Warning: Your slug size exceeds our soft limit (309 MB) which may affect boot time.
   Released v7
   https://java-cloud-sample.herokuapp.com/ deployed to Heroku
这是我得到的应用程序日志

2017-09-03T14:05:04.778676+00:00 heroku[web.1]: Starting process with command `java -jar target/java-cloud-sample-0.0.1-SNAPSHOT.jar -Dserver.port=14556`
2017-09-03T14:05:10.685730+00:00 app[web.1]:
2017-09-03T14:05:10.685803+00:00 app[web.1]:   .   ____          _            __ _ _
2017-09-03T14:05:10.685868+00:00 app[web.1]:  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
2017-09-03T14:05:10.685937+00:00 app[web.1]: ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
2017-09-03T14:05:10.685992+00:00 app[web.1]:  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
2017-09-03T14:05:10.686055+00:00 app[web.1]:   '  |____| .__|_| |_|_| |_\__, | / / / /
2017-09-03T14:05:10.686108+00:00 app[web.1]:  =========|_|==============|___/=/_/_/_/
2017-09-03T14:05:10.708407+00:00 app[web.1]:  :: Spring Boot ::        (v1.5.6.RELEASE)
2017-09-03T14:05:10.708470+00:00 app[web.1]:
2017-09-03T14:05:11.192342+00:00 app[web.1]: 2017-09-03 14:05:11.185  INFO 4 --- [           main] c.l.b.p.c.j.JavaCloudSampleApplication   : Starting JavaCloudSampleApplication v0.0.1-SNAPSHOT on f4c891ec-7872-4f32-996e-1fe573ea2ca7 with PID 4 (/app/target/jav
a-cloud-sample-0.0.1-SNAPSHOT.jar started by u57312 in /app)
2017-09-03T14:05:11.193055+00:00 app[web.1]: 2017-09-03 14:05:11.192  INFO 4 --- [           main] c.l.b.p.c.j.JavaCloudSampleApplication   : No active profile set, falling back to default profiles: default
2017-09-03T14:05:11.474167+00:00 app[web.1]: 2017-09-03 14:05:11.473  INFO 4 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@62150f9e: startup da
te [Sun Sep 03 14:05:11 UTC 2017]; root of context hierarchy
2017-09-03T14:05:14.172407+00:00 app[web.1]: WARNING: An illegal reflective access operation has occurred
2017-09-03T14:05:14.172418+00:00 app[web.1]: WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/app/target/java-cloud-sample-0.0.1-SNAPSHOT.jar!/BOOT-INF/lib/spring-core-4.3.10.RELEASE.jar!/) to method java.lang.Class
Loader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
2017-09-03T14:05:14.172419+00:00 app[web.1]: WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
2017-09-03T14:05:14.172420+00:00 app[web.1]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2017-09-03T14:05:14.172425+00:00 app[web.1]: WARNING: All illegal access operations will be denied in a future release
2017-09-03T14:05:15.430298+00:00 app[web.1]: 2017-09-03 14:05:15.430  INFO 4 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2017-09-03T14:05:15.451153+00:00 app[web.1]: 2017-09-03 14:05:15.450  INFO 4 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2017-09-03T14:05:15.452398+00:00 app[web.1]: 2017-09-03 14:05:15.452  INFO 4 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.16
2017-09-03T14:05:15.582784+00:00 app[web.1]: 2017-09-03 14:05:15.582  INFO 4 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2017-09-03T14:05:15.583083+00:00 app[web.1]: 2017-09-03 14:05:15.582  INFO 4 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 4117 ms
2017-09-03T14:05:16.006331+00:00 app[web.1]: 2017-09-03 14:05:16.006  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]
2017-09-03T14:05:16.013268+00:00 app[web.1]: 2017-09-03 14:05:16.013  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'metricsFilter' to: [/*]
2017-09-03T14:05:16.013794+00:00 app[web.1]: 2017-09-03 14:05:16.013  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2017-09-03T14:05:16.013969+00:00 app[web.1]: 2017-09-03 14:05:16.013  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2017-09-03T14:05:16.014080+00:00 app[web.1]: 2017-09-03 14:05:16.013  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2017-09-03T14:05:16.014311+00:00 app[web.1]: 2017-09-03 14:05:16.014  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2017-09-03T14:05:16.014462+00:00 app[web.1]: 2017-09-03 14:05:16.014  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2017-09-03T14:05:16.014603+00:00 app[web.1]: 2017-09-03 14:05:16.014  INFO 4 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'applicationContextIdFilter' to: [/*]
2017-09-03T14:05:16.730294+00:00 app[web.1]: 2017-09-03 14:05:16.729  INFO 4 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@
62150f9e: startup date [Sun Sep 03 14:05:11 UTC 2017]; root of context hierarchy
2017-09-03T14:05:16.957338+00:00 app[web.1]: 2017-09-03 14:05:16.957  INFO 4 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/hello]}" onto public java.lang.String com.lapots.breed.platform.cloud.javacloudsample.rest.HelloRestCon
troller.hello()
2017-09-03T14:05:16.967662+00:00 app[web.1]: 2017-09-03 14:05:16.967  INFO 4 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Objec
t>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2017-09-03T14:05:16.968232+00:00 app[web.1]: 2017-09-03 14:05:16.968  INFO 4 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.b
oot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2017-09-03T14:05:17.015875+00:00 app[web.1]: 2017-09-03 14:05:17.015  INFO 4 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestH
andler]
2017-09-03T14:05:17.015988+00:00 app[web.1]: 2017-09-03 14:05:17.015  INFO 4 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-09-03T14:05:17.073204+00:00 app[web.1]: 2017-09-03 14:05:17.072  INFO 4 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequ
estHandler]
2017-09-03T14:05:17.600843+00:00 app[web.1]: 2017-09-03 14:05:17.600  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json
]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.603060+00:00 app[web.1]: 2017-09-03 14:05:17.602  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || ap
plication/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
2017-09-03T14:05:17.606261+00:00 app[web.1]: 2017-09-03 14:05:17.606  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || ap
plication/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.610341+00:00 app[web.1]: 2017-09-03 14:05:17.610  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/js
on]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.611621+00:00 app[web.1]: 2017-09-03 14:05:17.611  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/js
on]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.616752+00:00 app[web.1]: 2017-09-03 14:05:17.616  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]
}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2017-09-03T14:05:17.617046+00:00 app[web.1]: 2017-09-03 14:05:17.616  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || applicatio
n/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.630560+00:00 app[web.1]: 2017-09-03 14:05:17.629  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springf
ramework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
2017-09-03T14:05:17.642704+00:00 app[web.1]: 2017-09-03 14:05:17.642  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || appl
ication/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.650903+00:00 app[web.1]: 2017-09-03 14:05:17.650  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]
}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
2017-09-03T14:05:17.653138+00:00 app[web.1]: 2017-09-03 14:05:17.651  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json
],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
2017-09-03T14:05:17.654524+00:00 app[web.1]: 2017-09-03 14:05:17.653  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || applicatio
n/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.657622+00:00 app[web.1]: 2017-09-03 14:05:17.655  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || applicat
ion/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.663382+00:00 app[web.1]: 2017-09-03 14:05:17.658  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json
]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.672330+00:00 app[web.1]: 2017-09-03 14:05:17.672  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" o
nto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2017-09-03T14:05:17.683275+00:00 app[web.1]: 2017-09-03 14:05:17.683  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}
" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-09-03T14:05:17.685550+00:00 app[web.1]: 2017-09-03 14:05:17.685  INFO 4 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/
json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
2017-09-03T14:05:17.962047+00:00 app[web.1]: 2017-09-03 14:05:17.961  INFO 4 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-09-03T14:05:17.981648+00:00 app[web.1]: 2017-09-03 14:05:17.981  INFO 4 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2017-09-03T14:05:18.309932+00:00 app[web.1]: 2017-09-03 14:05:18.309  INFO 4 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2017-09-03T14:05:18.328371+00:00 app[web.1]: 2017-09-03 14:05:18.325  INFO 4 --- [           main] c.l.b.p.c.j.JavaCloudSampleApplication   : Started JavaCloudSampleApplication in 9.561 seconds (JVM running for 10.785)
2017-09-03T14:05:45.484008+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=java-cloud-sample.herokuapp.com request_id=fe61c421-b7c6-47a5-ad20-cb78b2593c53 fwd="93.171.108.185" dyno= connect= service= status=503 bytes= pr
otocol=https
2017-09-03T14:05:50.186722+00:00 heroku[web.1]: Process running mem=514M(100.5%)
2017-09-03T14:05:50.186875+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2017-09-03T14:06:17.392379+00:00 heroku[web.1]: Process running mem=514M(100.5%)
2017-09-03T14:06:17.392521+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2017-09-03T14:06:35.116087+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 90 seconds of launch
2017-09-03T14:06:35.116157+00:00 heroku[web.1]: Stopping process with SIGKILL
2017-09-03T14:06:35.322422+00:00 heroku[web.1]: Process exited with status 137
2017-09-03T14:06:35.338320+00:00 heroku[web.1]: State changed from starting to crashed
2017-09-03T14:06:36.190416+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=java-cloud-sample.herokuapp.com request_id=1b975133-4ab4-4ea0-8366-985fd34ee359 fwd="93.171.108.185" dyno= connect= service= status=503 bytes= protoco
l=https
2017-09-03T14:06:36.814442+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=java-cloud-sample.herokuapp.com request_id=04f98634-63bf-48ea-ac2e-7a43b8c52b85 fwd="93.171.108.185" dyno= connect= service= status=503 bytes= protoco
l=https
2017-09-03T14:07:00.220008+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/rest/hello" host=java-cloud-sample.herokuapp.com request_id=5b88705e-ac20-4913-818f-4aa0e9f79914 fwd="93.171.108.185" dyno= connect= service= status=503 byte
s= protocol=https
2017-09-03T14:05:04.778676+00:00 heroku[web.1]:使用命令“java-jar-target/java-cloud-sample-0.0.1-SNAPSHOT.jar-Dserver.port=14556”启动进程`
2017-09-03T14:05:10.685730+00:00应用程序[网站1]:
2017-09-03T14:05:10.685803+00:00应用程序[web.1]:.\uuuuuuuuuuuuuu_
2017-09-03T14:05:10.685868+00:00应用程序[网站1]:/\/\/\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu\
2017-09-03T14:05:10.685937+00:00应用程序[web.1]:(()\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
2017-09-03T14:05:10.685992+00:00应用程序[网站1]:\\\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
2017-09-03T14:05:10.686055+00:00应用程序[网站1]:“| | | | | | | | | | | | | | | | |////
2017-09-03T14:05:10.686108+00:00应用程序[网站1]:=========|_|==============|___/=/_/_/_/
2017-09-03T14:05:10.708407+00:00应用程序[web.1]::Spring Boot::(v1.5.6.发行版)
2017-09-03T14:05:10.708470+00:00应用程序[网站1]:
2017-09-03T14:05:11.192342+00:00应用程序[web.1]:2017-09-03 14:05:11.185信息4---[main]c.l.b.p.c.j.JavaCloudSampleApplication:在f4c891ec-7872-4f32-996e-1fe573ea2ca7上启动JavaCloudSampleApplication v0.0.1-SNAPSHOT,带PID 4(/app/target/jav)
a-cloud-sample-0.0.1-SNAPSHOT.jar由u57312在/app中启动)
2017-09-03T14:05:11.193055+00:00应用程序[web.1]:2017-09-03 14:05:11.192信息4---[main]c.l.b.p.c.j.JavaCloudSampleApplication:无活动配置文件集,返回默认配置文件:默认
2017-09-03T14:05:11.474167+00:00应用程序[web.1]:2017-09-03 14:05:11.473信息4---[main]配置嵌入式web应用程序上下文:刷新org.springframework.boot.context.embedded。AnnotationConfigEmbeddedWebApplicationContext@62150f9e:启动da
te【2017年9月3日星期日14:05:11 UTC】;上下文层次结构的根
2017-09-03T14:05:14.172407+00:00应用程序[web.1]:警告:发生了非法的反射访问操作
2017-09-03T14:05:14.172418+00:00应用程序[web.1]:警告:org.springframework.cglib.core.reflectils$1(jar:file:/app/target/java-cloud-sample-0.0.1-SNAPSHOT.jar!/BOOT-INF/lib/spring-core-4.3.10.RELEASE.jar!/)对方法java.lang.Class的非法反射访问
Loader.defineClass(java.lang.String,字节[],int,int,java.security.ProtectionDomain)
2017-09~03T14:05:14172419+0:00 APP[Web 1 ]:警告:请考虑向Org.Spring Frask.CGLUB.Corp的维护者报告这一点。
2017-09-03T14:05:14.172420+00:00应用程序[web.1]:警告:使用--非法访问=警告以启用进一步非法访问操作的警告
2017-09-03T14:05:14.172425+00:00应用程序[web.1]:警告:所有非法访问操作将在未来版本中被拒绝
2017-09-03T14:05:15.430298+00:00应用程序[web.1]:2017-09-03 14:05:15.430信息4---[main]s.b.c.e.t.TomcatEmbeddedServletContainer:Tomcat用端口初始化:8080(http)
2017-09-03T14:05:15.451153+00:00应用程序[web.1]:2017-09-03 14:05:15.450信息4---[main]o.apache.catalina.core.StandardService:启动服务[Tomcat]
2017-09-03T14:05:15.452398+00:00应用程序[web.1]:2017-09-03 14:05:15.452信息4---[main]org.apache.catalina.core.StandardEngine:启动Servlet引擎:apache Tomcat/8.5.16
2017-09-03T14:05:15.582784+00:00应用程序[web.1]:2017-09-03 14:05:15.582信息4---[ost-startStop-1]o.a.c.c.c.[Tomcat].[localhost]./]:初始化Spring嵌入式WebApplicationContext
2017-09-03T14:05:15.583083+00:00应用程序[web.1]:2017-09-03 14:05:15.582信息4---[ost-startStop-1]o.s.web.context.ContextLoader:根WebApplicationContext:初始化在4117毫秒内完成
2017-09-03T14:05:16.006331+00:00应用程序[web.1]:2017-09-03 14:05:16.006信息4---[ost-startStop-1]o.s.b.w.servlet.ServletRegistrationBean:将servlet:“dispatcherServlet”映射到[/]
2017-09-03T14:05:16.013268+00:00应用程序[web.1]:2017-09-03 14:05:16.013信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“metricsFilter”映射到:[/*]
2017-09-03T14:05:16.013794+00:00应用程序[web.1]:2017-09-03 14:05:16.013信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“characterEncodingFilter”映射到:[/*]
2017-09-03T14:05:16.013969+00:00应用程序[web.1]:2017-09-03 14:05:16.013信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“hiddenHttpMethodFilter”映射到:[/*]
2017-09-03T14:05:16.014080+00:00应用程序[web.1]:2017-09-03 14:05:16.013信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“httpPutFormContentFilter”映射到:[/*]
2017-09-03T14:05:16.014311+00:00应用程序[web.1]:2017-09-03 14:05:16.014信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“requestContextFilter”映射到:[/*]
2017-09-03T14:05:16.014462+00:00应用程序[web.1]:2017-09-03 14:05:16.014信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“webRequestLoggingFilter”映射到:[/*]
2017-09-03T14:05:16.014603+00:00应用程序[web.1]:2017-09-03 14:05:16.014信息4---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“applicationContextIdFilter”映射到:[/*]
2017-09-03T14:05:16.730294+00:00应用程序[web.1]:2017-09-03 14:05:16.729信息4---[main]s.w.s.m.a.RequestMappingHandlerAdapter:查找@ControllerAdvice:org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@
62150f9e:启动日期[2017年9月3日星期日14:05:11 UTC];上下文层次结构的根
2017-09-03T14:05:16.957338+00:00应用程序[web.1]:2017-09-03 14:05:16.957信息4---[main]s.w.s.m.a.RequestMappingHandlerMapping:将“{[/rest/hello]}”映射到公共java.lang.String.com.lapots.breed.platform.cloud.javacloudsample.rest.hello