无法在Eclipse中解析类型Spring项目

时间:2019-03-19 19:48:24

标签: java eclipse spring-boot spring-data-jpa spring-data

所以我在eclipse上的春季项目运行良好,一周前我回到了我的项目,由于某种原因,每个地方都有弯曲的红线,表示无法解析整个项目的类型。我已经尝试了互联网上的所有内容,现在不知道前进的方向。

这是我运行gradle时看到的内容

    Working Directory: /Users/deso/Documents/workspace-sts-3.9.1.RELEASE/dohinventoryfordoh
Gradle user home: /Users/deso/.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 4.6
Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: build

:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.springframework.boot:spring-boot-starter-aop:.
  Required by:
      project :
> Could not find org.springframework.boot:spring-boot-starter-data-jpa:.
  Required by:
      project :
> Could not find org.springframework.boot:spring-boot-starter-web:.
  Required by:
      project :
> Could not find org.springframework.hateoas:spring-hateoas:.
  Required by:
      project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s

1 actionable task: 1 executed

0 个答案:

没有答案