0 Replies - 357 Views - Last Post: 19 October 2018 - 03:24 AM

#1 tekblade   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 81
  • Joined: 21-December 17

Execution failed for task ':bootRun'.

Posted 19 October 2018 - 03:24 AM

I am remaking my project
I have such error after after command
gradlew bootrun



Execution failed for task ':bootRun'.


What does causes such error.
I am using Java 8 and my build.gradle file is that:
buildscript {
	ext {
		springBootVersion = '1.5.8.RELEASE'
	}
	repositories {
		mavenCentral()
	}
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
	}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'

group = 'uploadingFiles'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8

repositories {
	mavenCentral()
}


dependencies {
	compile('org.springframework.boot:spring-boot-starter-web')
	compile('org.springframework.boot:spring-boot-starter-thymeleaf')
	testCompile('org.springframework.boot:spring-boot-starter-test')
}
 task wrapper(type: Wrapper){
 gradleVersion='2.9'
 }
 



Is This A Good Question/Topic? 0
  • +

Page 1 of 1