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:
- Remove the dependency
graphql-spring-boot-starter
Make sure you don’t remove the similar dependency
graphiql-spring-boot-starter
that we need.- Change to
Spring Boot 2.6.3
: