spring-boot-starter-web

org.springframework.boot : spring-boot-starter-web

Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container

Jan 20, 2022
6.4k usages
59k stars

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.springframework.boot/spring-boot-starter-web --> 
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    <version>2.6.3</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.springframework.boot:spring-boot-starter-web library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-web</artifactId>
  <version>2.6.3</version>
</dependency>
</dependencies>

To install org.springframework.boot:spring-boot-starter-web library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.springframework.boot:spring-boot-starter-web library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.3'
}

Gradle Kotlin DSL: Add the org.springframework.boot:spring-boot-starter-web library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.springframework.boot:spring-boot-starter-web:2.6.3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.springframework.boot:spring-boot-starter-web library to your build.sbt file:

libraryDependencies += "org.springframework.boot" % "spring-boot-starter-web" % "2.6.3"

4. Add dependency to a Grape project

Grape: Add an annotation org.springframework.boot:spring-boot-starter-web library to your groovy script file:

@Grapes(
    @Grab('org.springframework.boot:spring-boot-starter-web:2.6.3')
)

Compile Dependencies (5)

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

More from Group

Starter for testing Spring Boot applications with libraries including JUnit Jupiter, Hamcrest and Mockito

6.7k usages
59k stars

Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container

6.4k usages
59k stars

Spring Boot Configuration Annotation Processor

5.3k usages
59k stars

Spring Boot AutoConfigure

4.7k usages
59k stars

Core starter, including auto-configuration support, logging and YAML

4.6k usages
59k stars
© 2022 JMaven.com