尝试使用工厂实例化组件时出现此异常。
Requested component named '<component_Name>' was not found in the container. Did you forget to register it?
There is one other component supporting requested service '<service_Name>'. Is it what you were looking for?
组件在容器中注册(因为它使用 resolve 方法返回实例)。它喜欢某些依赖组件未注册导致此异常。所以我尝试查看容器中安装的所有组件和服务,但不知道该怎么做。是否有任何程序可以列出容器中注册的所有服务/组件