Inheritance makes complicated objects that would otherwise be impossible possible, but it only works if you know those objects really well. The problem is people write ridiculously complicated mystery objects in libraries and no one knows what's going on anymore.
Springboot is very confusing. The inheritance tree is insane, they created a class for everything, which I get.... But it is so hard to understand the whole scope their design.