title: GraphQLSchema bean not created - Spring Boot
body: <p>I am following this example here:- <a href="http://www.baeldung.com/spring-graphql" rel="nofollow noreferrer">http://www.baeldung.com/spring-graphql</a></p>
  
  <p>for me the GraphQLSchema bean is not getting autoregistered. it throws me this error:-
  No qualifying bean of type 'graphql.schema.GraphQLSchema' available</p>
  
  <p>my Pom file has all requried Spring boot dependecies:-</p>
  
  <pre><code>graphql-spring-boot-starter
  graphql-java-tools
  graphiql-spring-boot-starter
  </code></pre>
  
  <p>I have following settings in application.proerties:-</p>
  
  <pre><code>graphql.root=/v1
  graphql.servlet.mapping=${graphql.root}/graphql
  graphql.servlet.enabled=true
  graphql.servlet.corsEnabled=true
  </code></pre>
  
  <p>Not sure what am I missing, Do I need to explicitly define this bean as on this page:- <a href="https://github.com/graphql-java/graphql-spring-boot/blob/master/example/src/main/java/com/embedler/moon/graphql/boot/sample/ApplicationBootConfiguration.java" rel="nofollow noreferrer">https://github.com/graphql-java/graphql-spring-boot/blob/master/example/src/main/java/com/embedler/moon/graphql/boot/sample/ApplicationBootConfiguration.java</a>.</p>
  
  <p>But I thought it will autocreate for me, I just need to have *.graphqls on my class path.</p>