Resolve the problem with GraphQL.newGraphQL ().

GraphQL graphQL = GraphQL.newGraphQL(schema).build();

error:

clipboard.png

looked at a lot of sample code, others have no problem, how did this problem arise?
this is the first strange place.

my GraphQL-java version is 1.2, because when using other versions, these classes are not available!
this is the second strange place. -sharp-sharp-sharp problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

May.14,2021
Menu