I don’t know how to describe my problem. I just create a new project via spring initializr or spring boot project in Intellij idea, and when I try to run Main, the build just stops at compileJava stage
Before this I wrote in another project where at least tests were run, but here I have no idea at all
Gradle: enter image description here
My build.gradle:
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'org.remsoftware'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
I don’t even know where to dig, any help would be welcome
Checked Project structure, following the example of the working project, does not help.
Checked Build tools settings, does not help.
Changed build.gradle as on the working project, the situation did not change.
ItsLostAndCantBeFound is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.