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,

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

 

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

 

 点击进去之后删掉原来的版本号即可

 

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2021-04-02
  • 2021-10-14
  • 2022-12-23
  • 2021-05-01
  • 2022-12-23
  • 2021-11-26
猜你喜欢
  • 2021-08-07
  • 2021-07-13
  • 2022-02-16
  • 2021-08-05
  • 2021-09-28
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案