Is there a way to print all the spring beans that are loaded on startup?I am using Spring 2.0.
You could try calling
org.springframework.beans.factory.ListableBeanFactory.getBeansOfType(Object.class)
Or turn on debug logging for org.springframework. (In spring boot, that's using a parameter --logging.level.org.springframework=DEBUG)
org.springframework
--logging.level.org.springframework=DEBUG