Correct the classpath of your application so that it contains a single......
原因是gson的jar包版本問題,解決辦法是加入依賴
<dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.3</version> </dependency>
然后刪除原來的gson,
點擊進去之后刪掉原來的版本號即可