【问题标题】:Spring boot issue main class gives compilation error [duplicate]Spring Boot问题主类给出编译错误[重复]
【发布时间】:2019-04-22 18:41:48
【问题描述】:

在运行主类 SpringBoot2RestServiceApplication 时出现以下异常:

cannot access org.springframework.context.ConfigurableApplicationContext

显示编译错误:

任何帮助将不胜感激。谢谢。

【问题讨论】:

    标签: java spring-boot compiler-errors


    【解决方案1】:

    尝试移除(删除)您的本地存储库 (~/.m2/repository/) 并再次运行 mvn clean install

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-03
      • 2020-04-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多