milton2 icon indicating copy to clipboard operation
milton2 copied to clipboard

Spring boot 3 Annotations only found under certain conditions

Open ajobra76 opened this issue 2 years ago • 2 comments

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 avatar Jun 02 '23 10:06 ajobra76

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

ophiuhus avatar Jun 08 '23 18:06 ophiuhus

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

ophiuhus avatar Jun 19 '23 20:06 ophiuhus