I will show you how you can use Thymeleaf ViewComponents with Java and Maven