Skip to content

Questions about Spring Circular Dependency. #33209

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

Closed
MaxWang007 opened this issue Jul 12, 2024 · 2 comments
Closed

Questions about Spring Circular Dependency. #33209

MaxWang007 opened this issue Jul 12, 2024 · 2 comments
Labels
for: stackoverflow A question that's better suited to stackoverflow.com status: invalid An issue that we don't feel is valid

Comments

@MaxWang007
Copy link

  1. Why is Spring's circular dependency intermittent?
  2. Why doesn't Spring reorder the reading of Jar files based on their FileName (I noticed that local loading does reorder them)?

Supplement: I understand that the intermittent nature might be related to the loading order of Beans. Spring reads beans from jar files, and Maven does not guarantee the order of files in the jar. Could this be causing Spring to read them in an unordered manner?

@MaxWang007
Copy link
Author

I'm not sure if Maven does not guarantee the order of files in the jar; this is just my guess.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 12, 2024
@simonbasle simonbasle added status: invalid An issue that we don't feel is valid 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 Jul 12, 2024
@simonbasle
Copy link
Contributor

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. 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).

@simonbasle simonbasle closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
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 status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants