Posts

Showing posts from June, 2022

Simple Spring Boot Technical Answers

I hate it when people play I've got a secret! I was a USAF pilot and people like this were often described as being in the "Secret Squirrel Society". In other words they were little weasels, always trying to plan something good for themselves (A two week flight to Hawaii for instance) and they kept it to themselves so that no one else could take the trip from them. I've noticed s/w engineers are particularly bad about it. The secrets go something like this... you> Hey, has anyone run into this weird problem where the Spring Boot jar won't start??? them> Nope... So I thought I'd provide some of the simple answers I've found. When you migrate from Spring Boot 2.x to Spring Boot 2.5.x+ the start of the app may fail due to the fact after Spring Boot 2.5, the architecture creates two jar files, rather than one. This confuses gradle a bit (I can't speak for maven) as to which jar to start and as a result your app won't start. The solution is t