Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加 @OperatorScan 注解后,项目启动时出现 'No servlet set' 问题 #268

Closed
Createsequence opened this issue Apr 24, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Createsequence
Copy link
Collaborator

参见问题 #126 ,怀疑也是因为相关组件的提前加载导致一些 Spring 组件也被迫错误的提前加载了,这个问题需要进一步排查

@Createsequence
Copy link
Collaborator Author

#126 原因类似,由于 OperatorFactoryBean 被提前初始化,进而导致了 SpringConvertManager -> MvcConversionService -> WebMvcAutoConfiguration 这一整条依赖链上组件的初始化。

具体问题排查过程可参见 https://www.cnblogs.com/Createsequence/p/18165609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant