Spring Boot 3 + AspectJ example Sample Spring Boot 3 project with AspectJ configured. With AspectJ we can apply @Cacheable and @Transaction to private methods. Works with JDK 17. Read this blog post for more details, How to configure AspectJ in Spring Boot How to use Spring Boot Cacheable on self-invocation How to run To run the project execute, $ mvn spring-boot:run