Ref: https://medium.com/oril/spring-boot-graphql-mongodb-8733002b728a Note: Since Groovy is added to pom.xml, Don't add it as framework support in Intellij Module properties as version mismatch will cause issues.