The import org.springframework.stereotype.Service conflicts with a type defined in the same file

今天卸了一个类导入写注解时一直提示错误,百度一下说是jar包冲突,各种解决还是不管用,后来发现是因为我新建的类的名字是Service导入的包还是Service,改名后就没有问题了。

The import org.springframework.stereotype.Service conflicts with a type defined in the same file

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2021-05-08
  • 2022-03-02
  • 2021-10-08
  • 2021-06-19
  • 2021-07-17
相关资源
相似解决方案