Closed
Description
These dependencies will trigger the problem:
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework.boot:spring-boot-starter-tomcat'
compile 'org.codehaus.groovy:groovy-all:2.3.7'
compile 'org.springframework:spring-web'
The failure is NoClassDefFoundError: org/springframework/web/servlet/view/UrlBasedViewResolver
You can work around the problem by excluding GroovyTemplateAutoConfiguration
:
@EnableAutoConfiguration(exclude=GroovyTemplateAutoConfiguration.class)