Tag: 蒲公英

Spring Boot + Thymeleaf +蒲公英配置不起作用

我正在使用Thymeleaf的Spring Boot,现在我想添加蒲公英数据表,但它不起作用。 这是我的maven依赖项: org.springframework.boot spring-boot-starter-parent 1.2.1.RELEASE org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-starter-websocket org.springframework.boot spring-boot-starter-tomcat provided org.springframework.boot spring-boot-starter-test test com.github.dandelion datatables-thymeleaf 0.10.1 我正在遵循本指南http://dandelion.github.io/dandelion/docs/installation/thymeleaf.html并配置以下bean: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } @Bean public FilterRegistrationBean dandelion() { FilterRegistrationBean registrationBean = new FilterRegistrationBean(); registrationBean.setFilter(new DandelionFilter()); registrationBean.addUrlPatterns(“/*”); return registrationBean; } @Bean […]