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
Caused by: java.lang.IllegalStateException:
WebApplicationObjectSupport instance [ResourceHttpRequestHandler [locations=[class path resource [META-INF/resources/webjars/]], resolvers=[org.springframework.web.servlet.resource.PathResourceResolver@12d40609]]]
does not run in a WebApplicationContext but in: org.springframework.context.annotation.AnnotationConfigApplicationContext@27ae2fd0:
startup date [Thu May 11 11:54:14 CEST 2017]; root of context hierarchy
The text was updated successfully, but these errors were encountered:
A web app that runs with spring.main.web-application-type=none should start up and doesn't
Sample application can be found here:
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-flyway
Steps to reproduce:
CREATE SEQUENCE hibernate_sequence;
to V1__init.sql (probably because of this issue: set spring.jpa.properties.hibernate.id.new_generator_mappings=true by default #7612)It fails to start because of:
The text was updated successfully, but these errors were encountered: