org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'portal.registries.portletDefinitionRegistry': Bean with name 'portal.registries.portletDefinitionRegistry' has been injected into other beans [portal.registries.portletDefinitionFactory] in its raw version as part of a circular reference, but has eventually been wrapped (for example as part of auto-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apereo Issues by Faizan Ahmed, 1 year ago
circular reference, but has eventually been wrapped (for example as part of auto-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
via Apereo Issues by Faizan Ahmed, 1 year ago
circular reference, but has eventually been wrapped (for example as part of auto-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
via manning.com by Unknown author, 1 year ago
-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
via csdn.net by Unknown author, 1 year ago
Error creating bean with name 'shiroFilter': Requested bean is currently in creation: Is there an unresolvable circular reference?
via Google Groups by Jeremy Justice, 10 months ago
Error creating bean with name 'shiroFilter': Requested bean is currently in creation: Is there an unresolvable circular reference?
via usergrid-user by Samuel Ngoda, 1 year ago
Error creating bean with name 'shiroFilter': Requested bean is currently in creation: Is there an unresolvable circular reference?
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'portal.registries.portletDefinitionRegistry': Bean with name 'portal.registries.portletDefinitionRegistry' has been injected into other beans [portal.registries.portletDefinitionFactory] in its raw version as part of a circular reference, but has eventually been wrapped (for example as part of auto-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.