Correct the classpath of your application so that it contains a single.........................


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,

 

 

 

 點擊進去之后刪掉原來的版本號即可

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM