on-internet
← Community

Could not find org.springframework.boot:spring-boot-starter-web:. Required by: project :

Stack Overflow ·

I'm new to spring and trying to use Spring Web dependency with spring boot. Here is my build.gradle plugins { id 'org.springframework.boot' version '2.6.7' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring- boot-starter-web' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } but when gradle sync, it returned errors spring-overview:test: C

Comments

Sign in or sign up to comment and upvote.

No comments yet.