Relative Content

Tag Archive for javaspringspring-bootmaven

Spring boot app as jar Library scanning issue

I have two Spring projects. The first project is a jar library, published in a local repository, containing beans for a WebClient and some adapters. The second project is a simple Spring Boot application with Spring Security. When I add the jar library to the second project’s Maven dependencies, I encounter problems with bean scanning, even after adding the component scan for the library in the second project. How can I resolve these bean scanning issues and properly integrate the library with the Spring Boot application?