Re: Starting Spring Boot App after deploying it to CF


Qing Gong
 

Thanks James! You are right that it is pretty straight forward to build and deploy this sample project. However, I got the exact same behavior. The System.out worked when I ran the jar as a standalone app (java -jar xxx.jar). However, when deployed in CF (cf push appname -p abc.jar), nothing happens in stdout. I know a static block will execute and output System.out messages. The problem is that the Spring Boot app doesn't start after deployment.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.