You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
When I run the application through the IDE the endpoint "/graphql" works as expected, but when I run the JAR through the command "java -jar my-app.jar" the endpoint "/graphql" always returns "not found". My application is a Spring Boot Application, and I'm using WebFlux. I added the following dependencies:
I have a class GraphQLProvider which is annotated with @configuration and registers a @bean of type GraphQL:
@ConfigurationpublicclassGraphQLProvider {
@BeanpublicGraphQLgetGraphQL() {
returnthis.graphQL; // This object has already been created. the code is omitted...
}
}
There is also a class GraphQLDataFetchersProvider, annotated as @component, which has the DataFetchers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run the application through the IDE the endpoint "/graphql" works as expected, but when I run the JAR through the command "java -jar my-app.jar" the endpoint "/graphql" always returns "not found". My application is a Spring Boot Application, and I'm using WebFlux. I added the following dependencies:
I have a class GraphQLProvider which is annotated with @configuration and registers a @bean of type GraphQL:
There is also a class GraphQLDataFetchersProvider, annotated as @component, which has the DataFetchers.
Beta Was this translation helpful? Give feedback.
All reactions