- Maven shade with Spring Boot
The goal was to create an uber-jar out of the Spring boot application. Following the directions given at Apache went very smoothly yet when I tried to execute the jar a large number of spring beans were missing and not getting loaded during runtime. For example, one of the beans not getting loaded was 'AutoConfigurationPackages'
jar -tvf name.jar | grep AutoConfigurationPackages
showed that the class file was present in tha jar.