title: GraphQL java backend getting started
body: <p>I'm trying to make a graphQL java backend to my web application that uses Spring MVC and that I will turn in to using maven or gradle while getting all sorted out.</p>
  
  <p>It feels like I have tried everything to get a backend up and running but cant manage to figure it out.</p>
  
  <p>I have tried the <a href="https://github.com/graphql-java/todomvc-relay-java" rel="nofollow">todomvc-relay-java</a> and when running it I just get a 415 Unsupported Media Type application/x-www-form-urlencoded when trying to get the schema and a null result when trying to get a todo or a user.</p>
  
  <p>I have also tried the <a href="https://github.com/oembedler/graphql-spring-boot" rel="nofollow">spring-boot-starter</a> where I can't get the dependency right when trying to include it in a project and when including the .jar files I get error because it can't find the classes that are imported. When trying to run the project as it is in terminal with gradle bootRun it get stuck at 95% and when I export it as a war file I can get the grapiql graphick running but I can't make any queries. If I try to run just the sample-app in terminal it complains about missing packages that are in the parent folder.</p>
  
  <p>Does anyone have any idea what I'm doing wrong? I fell like a moron when I can't even get a ready project up and running. Is there any easy getting started guides or anything out there that I have missed? I have googled so much but still don't find anything that gets me running I start to think that it's me that are stupid.</p>