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

Spring boot 3 Annotations only found under certain conditions #189

Open
ajobra76 opened this issue Jun 2, 2023 · 2 comments
Open

Spring boot 3 Annotations only found under certain conditions #189

ajobra76 opened this issue Jun 2, 2023 · 2 comments

Comments

@ajobra76
Copy link

ajobra76 commented Jun 2, 2023

Inside Intellij all runs perfect. After build and deployment ResourceControllers are only found if

registration.addInitParameter("controllerClassNames", "de.impp.iims.controller.milton.WebDavRootController,de.impp.iims.controller.milton.WebDavController");
but not If
registration.addInitParameter("controllerPackagesToScan", "de.impp.iims.controller.milton"); is set

it seems to be a problem with the classloaders

@ajobra76 ajobra76 changed the title Spring boot 3 Annotations only found under certain condidtions Spring boot 3 Annotations only found under certain conditions Jun 2, 2023
@ophiuhus
Copy link
Contributor

ophiuhus commented Jun 8, 2023

Hi, @ajobra76 , sorry for late response and thanks for finding. We are working on it.

@ophiuhus
Copy link
Contributor

Hi @ajobra76 , can you share your SpringBoot 3 configuration to reproduce the issue?

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

No branches or pull requests

2 participants