Spring Boot App deployed to Weblogic 12c


#1

I tried to create a spring boot deployable war file and then deployed it to weblogic 12c. Application startup failed with the exception:

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
ERROR SpringApplication - Application startup failed
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphQLServletRegistrationBean' defined in class path resource


Nested exception is:

java.lang.IllegalStateException: No *.graphqls files found on classpath.  Please add a graphql schema to the classpath or add a SchemaParser bean to your application context.
In fact, the above mentioned files *.graphqls exist in the war under WEB-INF/classes/ folder. If the war file was unzipped to the local disk and redeploy the app in exploded format, we won't see this exception.