[BAEL-11603] - Fixed tests in spring-mvc-java module
This commit is contained in:
parent
ca53b93176
commit
bc8f5ab8c4
|
@ -144,6 +144,11 @@
|
|||
<artifactId>spring-messaging</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.glassfish</groupId>
|
||||
<artifactId>javax.el</artifactId>
|
||||
<version>${javax.el.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -290,7 +295,7 @@
|
|||
<!-- excel -->
|
||||
<poi.version>3.16-beta1</poi.version>
|
||||
|
||||
<javax.el.version>3.0.1-b06</javax.el.version>
|
||||
<javax.el.version>3.0.1-b09</javax.el.version>
|
||||
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ import org.thymeleaf.spring4.SpringTemplateEngine;
|
|||
import org.thymeleaf.spring4.view.ThymeleafViewResolver;
|
||||
import org.thymeleaf.templateresolver.ServletContextTemplateResolver;
|
||||
|
||||
import com.baeldung.excel.ExcelPOIHelper;
|
||||
|
||||
@Configuration
|
||||
@EnableWebMvc
|
||||
@ComponentScan(basePackages = { "com.baeldung.web.controller" })
|
||||
|
@ -45,4 +47,8 @@ public class TestConfig implements WebMvcConfigurer {
|
|||
return templateEngine;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ExcelPOIHelper excelPOIHelper() {
|
||||
return new ExcelPOIHelper();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue