Skip to content

Migration to Spring Boot 4 section aop-starter-pom is misleading #48259

@michaldo

Description

@michaldo

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide#aop-starter-pom

AOP Starter POM
(...)

If your application does not use AspectJ, typically an annotation in the org.aspectj.lang.annotation package, you probably do not need the starter at all.

I do not have org.aspectj.lang.annotation, I removed the starter at all and annotation io.micrometer.core.annotation.Timed stopped working.

I made PR for that in #48258

I think migration guide too carelessly suggests removal of spring-boot-starter-aop/spring-boot-starter-aspectj

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions