在spring中导入jackson后报错,其实是jackson版本过低导致,没有 com/fasterxml/jackson/core/util/DefaultIndenter 这个包。 导入高版本即可