Gradle和SpringBoot-无法解决错误

时间:2018-10-17 22:31:13

标签: java git spring-boot gradle

我试图用SpringBoot&Gradle运行我的第一个应用程序。我正在使用git作为版本管理器。

我通过以下在线工具创建项目:https://start.spring.io/

gradle setup

然后,我通过Git将项目推送到我的Bitbucket存储库中:

my bitbucket architecture

接下来,我通过eclipse eGit插件从Git导入我的项目。那是我在Eclipse IDE中的基本项目:

project eclipse explorer

我的问题与Gradle有关。我有一个依赖问题(我相信),并且我的项目无法正确编译。

my gradle

我尝试了不同的方式:

  • 添加build.gradle:compile('org.springframework.boot:spring-boot-starter-web')和/或compile('org.springframework.boot:spring-boot')
  • 我运行:./gradlew构建--refresh-dependencies

没有任何效果。我需要一些建议,从这些新闻技术开始。=)非常感谢队友!

0 个答案:

没有答案