Action:Correct the classpath of your application so that it contains a single, compatible version of com.google.gson.GsonBuilder 如果你的springboot項目啓動時報了以下錯誤,說明gson的版本問題,在啓動項上加上 @SpringBootApplication(exclude = {GsonAutoConfiguration.class}) 註解即可解決