graphql-java-tools
graphql-java-tools copied to clipboard
More descriptive error message for SchemaParser exception?
2019-02-25 14:34:38.455 WARN 20644 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaParser' defined in class path resource [com/oembedler/moon/graphql/boot/GraphQLJavaToolsAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.coxautodev.graphql.tools.SchemaParser]: Factory method 'schemaParser' threw exception; nested exception is com.coxautodev.graphql.tools.InvalidSchemaError: Invalid schema provided (org.antlr.v4.runtime.InputMismatchException) at: [@248,1556:1556='[',<11>,87:12]
How to know what goes wrong here? Is it .graphqls files or .java files? I have many .graphqls files....
Please do not open duplicate issues.
https://github.com/graphql-java-kickstart/graphql-java-tools/issues/227