{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1439","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1439/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1439/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1439/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1439","id":72973483,"number":1439,"title":"Unable to start jhipster project on CloudFoundry","user":{"login":"dancancro","id":880033,"avatar_url":"https://avatars.githubusercontent.com/u/880033?v=3","gravatar_id":"","url":"https://api.github.com/users/dancancro","html_url":"https://github.com/dancancro","followers_url":"https://api.github.com/users/dancancro/followers","following_url":"https://api.github.com/users/dancancro/following{/other_user}","gists_url":"https://api.github.com/users/dancancro/gists{/gist_id}","starred_url":"https://api.github.com/users/dancancro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancancro/subscriptions","organizations_url":"https://api.github.com/users/dancancro/orgs","repos_url":"https://api.github.com/users/dancancro/repos","events_url":"https://api.github.com/users/dancancro/events{/privacy}","received_events_url":"https://api.github.com/users/dancancro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-04T09:38:03Z","updated_at":"2015-05-07T14:31:43Z","closed_at":null,"body":"Hi everyone,\r\n\r\nI'm following the bookstore example from the [tutorial](http://jhipster.github.io/video_tutorial.html) (great job on that, btw!).\r\n\r\nThe app ran fine in development mode locally, but not when deployed to CloudFoundry.  In that case, I just get a 404 and nothing useful in the logs.\r\n\r\nHere is the [log](https://gist.github.com/dancancro/0a4eb5aa8b785f411f79).\r\n\r\nAlso, could anyone explain how to serve the frontend locally in production mode?  I ran `mvn -Pprod spring-boot:run` to get the production API going. `gulp build` creates the production frontend, but doesn't serve it.  `gulp serve` serves the frontend development files.\r\n\r\nOne other thing, to get the app to work locally, I also needed to do a couple things that were not mentioned in the instructions.  \r\n\r\nI needed to edit application-dev.yml by entering the database username and password. I also got an error about an address already being in use.  So I changed the port in application_dev.yml and gulpfile.js from 8080 to 8181. I also got the error \"Unsupported major.minor version 51.0\". To fix that, I deleted the app and regenerated it without using Java 8.  I'd love to help people avoid these hurdles.  Should (can) I add something to the docs?\r\n\r\n\r\nThank you!\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/99888620","html_url":"https://github.com/jhipster/generator-jhipster/issues/1439#issuecomment-99888620","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1439","id":99888620,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T14:31:42Z","updated_at":"2015-05-07T14:31:42Z","body":"Do you have something in your src/webapp/dist folder? That's the only thing that could give you a 404 (excepted from the \"dev\" profile issue, but that was already pointed out)"}}