Java – how to view the bean graph of @ Autowired bean in spring STS?
•
Java
I can view the bean graph of any bean connected through XML, but when I get @ Autowired bean through annotation, no arrow will be displayed between them
According to STS #171 and STS #1066, it was implemented a long time ago
Note: finally use STS 3.4 0. Release test
If I deploy to tcserver and execute live bean graph, it can work, but it can't use the general view
Solution
It is required to improve the feature or even close it; However, the new ticket still requires that this function is required – and not turned off in 2.8 (sts-2396) I failed to get there No happiness:(
The problem says – "when STS parses automatically assembled beans for verification purposes or bean graph, it seems that it can only find beans with clearly defined types."
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码