https://kotlinlang.org logo
#graphql-kotlin
Title
# graphql-kotlin
k

Kanu

01/06/2022, 12:42 PM
Another issue: if I upgrade from expedia 3.6.1 to expedia 3.7.0 I get the following error
Copy code
***************************
APPLICATION FAILED TO START
***************************

Description:

The bean 'graphQLContextFactory', defined in class path resource [com/expediagroup/graphql/spring/FederatedSchemaAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [aaa/GraphQLConfiguration.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
TBH I cannot understand why it is failing as the bean is annotated with
@ConditionalOnMissingBean
and seems to be loading second 🤷
2 Views