spring-boot-starter-wro4j simplifies the usage of the wro4j in Spring Boot.
please add following code in your pom.xml
<dependency>
<groupId>org.mvnsearch.spring.boot</groupId>
<artifactId>spring-boot-starter-wro4j</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
you can change wro4j configuration in application.properties