Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my project run fail in jar but success in local intellliJ,show exception has been injected into other beans... #24325

Closed
kse-music opened this issue Jan 10, 2020 · 1 comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@kse-music
Copy link

kse-music commented Jan 10, 2020

Affects: spring-framwork 5.1.9.RELEASE


First,my project exist circle reference.But run in intellij IDEA no problem.in jar run failed. I am very worried about it.

The exception is as follows:

org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'attributeDateTimeDaoImpl': Bean with name 'attributeDateTimeDaoImpl' has been injected into other beans [attributeDateTimeServiceImpl] in its raw version as part of a circular reference, but has eventually been wrapped. 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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 10, 2020
@kse-music kse-music changed the title why run in intellij differnent from in jar my project run fail in jar but success in local intellliJ,show exception has been injected into other beans... Jan 10, 2020
@sbrannen
Copy link
Member

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

@sbrannen sbrannen added for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

3 participants