java.lang.ClassNotFoundException: graphql.execution.batched.Batched

date
Jul 30, 2022
slug
java-lang-ClassNotFoundException-graphql-execution-batched-Batched
status
Published
tags
Bugfix
API
GraphQL
Spring Boot
summary
type
Post

Background

I created a Dog GraphQL API with the necessary dependencies below:

Problem

However, when I ran the project I received the error below:

Solution

There are two simple ways to solve this problem:
  1. Remove the dependency graphql-spring-boot-starter
    1. Make sure you don’t remove the similar dependency graphiql-spring-boot-starter that we need.
  1. Change to Spring Boot 2.6.3:

    References


    © Foy Wan 2022 - 2025