{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2078","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2078/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2078/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2078/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/2078","id":109644312,"number":2078,"title":"Request method 'POST' not supported","user":{"login":"joslash","id":725264,"avatar_url":"https://avatars.githubusercontent.com/u/725264?v=3","gravatar_id":"","url":"https://api.github.com/users/joslash","html_url":"https://github.com/joslash","followers_url":"https://api.github.com/users/joslash/followers","following_url":"https://api.github.com/users/joslash/following{/other_user}","gists_url":"https://api.github.com/users/joslash/gists{/gist_id}","starred_url":"https://api.github.com/users/joslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joslash/subscriptions","organizations_url":"https://api.github.com/users/joslash/orgs","repos_url":"https://api.github.com/users/joslash/repos","events_url":"https://api.github.com/users/joslash/events{/privacy}","received_events_url":"https://api.github.com/users/joslash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-03T20:36:49Z","updated_at":"2015-10-04T07:42:39Z","closed_at":null,"body":"When I generated my first entity with a one-to-many relationship, when running the app, I got the message \"Request method 'POST' not supported\" everytime I want to save a new record.\r\n\r\nHere a paste some log messages:\r\n```bash\r\n[DEBUG] org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor - Written [{timestamp=Sat Oct 03 15:13:47 CDT 2015, status=405, error=Method Not Allowed, exception=org.springframework.web.HttpRequestMethodNotSupportedException, message=Request method 'POST' not supported, path=/api/items}] as \"application/json;charset=UTF-8\" using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@635d2bbc]\r\n[DEBUG] org.springframework.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name 'dispatcherServlet': assuming HandlerAdapter completed request handling\r\n[DEBUG] org.springframework.web.servlet.DispatcherServlet - Successfully completed request\r\n\r\n[locations=[ServletContext resource [/], class path resource [META-INF/resources/], class path resource [resources/], class path resource [static/], class path resource [public/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@6c5c9e23]]]: org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported\r\n```"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/145324767","html_url":"https://github.com/jhipster/generator-jhipster/issues/2078#issuecomment-145324767","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2078","id":145324767,"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-10-04T07:42:39Z","updated_at":"2015-10-04T07:42:39Z","body":"This is really weird... How do you run your server? (I'm thinking you might have an URL path issue, do you run it as a WAR in Tomcat?)\r\nAnd do you have any other error?"}}