Skip to content

[启动警告]: BeanPostProcessors (for example: not eligible for auto-proxying) #257

Description

@lin-code-world

依赖环境:

Java: 21
Forest: forest-spring-boot-starter 1.8.1
SpringBoot: 3.4.9

问题简述:

#173
类似的问题依然存在
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [forestBeanProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.

如何复现:

  1. 启动有警告

预期结果:

不应该有警告

实际结果:

有警告

截图或视频:

No response

最小可复现代码:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions