I have setup spring boot project on windows machine. Configuration: Windows 10 | Java 8 implementation 'org.springframework.boot:spring-boot-starter-data-jpa' With this plugin I am getting error
Execution failed for task ':DemoApplication.main()'.
> Process 'command 'C:/Program Files/Java/jdk1.8.0_231/bin/java.exe'' finished with non-zero exit value 1
Tried googling the problem but no luck.
Issue only with that plugin if the same removed its works fine.
plugins {
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}