Linux Mint 20.1
В IntellIJ 2020 я импортирую проект Gradle SpringBoot.
вот мой build.gradle
plugins {
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.gmail.myproject
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
И из терминала я успешно запускаю проект весенней загрузки:
./gradlew bootrun
Хорошо.
Теперь я хочу запустить проект из IntelIJ. Но я получаю ошибку:
11:23:24 AM: Executing task...
FAILURE: Build failed with an exception.
* What went wrong:
The specified initialization script '/tmp/ijresolvers.gradle' does not exist.
* 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 10ms
11:23:24 AM: Task execution finished.
Подробнее здесь: https://stackoverflow.com/questions/660 ... -not-exist