Skip to content
New issue

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

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

Already on GitHub? # to your account

Not able to find spring components created in plugin zip #39

Open
santoo1116 opened this issue Feb 2, 2020 · 2 comments
Open

Not able to find spring components created in plugin zip #39

santoo1116 opened this issue Feb 2, 2020 · 2 comments

Comments

@santoo1116
Copy link

santoo1116 commented Feb 2, 2020

When we register the configuration files in plugin - only the beans created in config files are being eligble for autowiring but not the components declared in the plugin application - is there any way to register all the components created as well?

@santoo1116
Copy link
Author

Got around it by adding scan during the creation of plugin application context.
applicationContext.scan(plugin base package here); But it would try to load all the components and when there is some issue while loading - the context refresh will go to infinite loop.
Need to search for a better solution.

@decebals
Copy link
Member

decebals commented Feb 3, 2020

@santoo1116
Can you share with us some code or snippet to understand more easy what you try to achieve?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants