On Thu, Jan 12, 2023, 18:06 Maxim Solodovnik <solomax...@gmail.com> wrote:

> Hello All,
>
> It seems "Injector.get().inject(this);" doesn't work for me as expected
>
> The bean annotated with @Inject or @SpringBean is injected
>

Here you say @Inject injects the proxy.

(WicketProxy, via ByteBuddy but it differs from what is being injected
> by Spring, and all @Inject/@Autowired fields are null :(((
>

Here it is null...
Which one is correct?

Or you mean the transitive dependencies are null? If this is the case then
debug in SpringBeanLocator. It uses Spring APIs to load the real bean.



> What can I troubleshoot?
>
> --
> Best regards,
> Maxim
>

Reply via email to