java - 无法在 Eclipse 中解析类型 Spring 项目
问题描述
所以我在 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
解决方案
推荐阅读
- wordpress-theming - 如何使用 wp_insert_post 创建包含 Elementor 内容的页面?
- csv - 通过 CSV 文件的热图
- html - 如何更改离子图标的标题?
- javascript - 如何将实时数据存储在 Javascript 数组中?
- javascript - 空白局部变量声明 - JS
- design-patterns - 游戏中装备或取消装备的设计模式
- wordpress - 如何使用 NGNIX 指令将所有请求重定向到目录中的文件,但对特定子目录中文件的请求除外?
- html - 数据列表元素,可以自动填充多个输入吗?
- css - GetComputedStyle 节点不工作 - 未定义
- npm-install - 如何解决 Mac 上的 npm 安装错误