1
這是新創建的空項目。 這是適用的插件有問題我的build.gradle文件。該錯誤發生的情況:「春天啓動」Gradle同步錯誤:未在ProjectScopeServices中提供StyledTextOutputFactory類型的服務
group 'com.teamtreehouse'
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.3.3.RELEASE')
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-data-rest'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
多數民衆贊成在此非常感謝 – Daniel