Destroy method on bean with name \'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory\' threw an exception