From b5b86d07bad11f6739b371ce75510f1ede38344a Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Mon, 6 Jan 2014 11:21:55 -0600 Subject: [PATCH] Add Spring MVC's org.springframework.ui package to the list of automatic imports --- .../autoconfigure/SpringMvcCompilerAutoConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java index 5baaafe658..c0b9a1bbbe 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java @@ -50,7 +50,8 @@ public class SpringMvcCompilerAutoConfiguration extends CompilerAutoConfiguratio imports.addStarImports("org.springframework.web.bind.annotation", "org.springframework.web.servlet.config.annotation", "org.springframework.web.servlet", - "org.springframework.web.servlet.handler", "org.springframework.http"); + "org.springframework.web.servlet.handler", "org.springframework.http", + "org.springframework.ui"); imports.addStaticImport(GroovyTemplate.class.getName(), "template"); }