{"id":54086,"library":"spring-boot-starter-web","title":"Spring Boot Starter Web","description":"Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container.","status":"active","version":"4.1.0","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-boot","tags":["spring","boot","web","rest","mvc"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.boot</groupId>\n  <artifactId>spring-boot-starter-web</artifactId>\n  <version>4.1.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.boot:spring-boot-starter-web:4.1.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"RestController","correct":"org.springframework.web.bind.annotation.RestController"}],"quickstart":{"code":"import org.springframework.web.bind.annotation.RestController;\nimport org.springframework.web.bind.annotation.GetMapping;\n\n@RestController\npublic class HelloController {\n    @GetMapping(\"/hello\")\n    public String hello() {\n        return \"Hello, World!\";\n    }\n}","lang":"java","description":"Creates a simple REST controller with a GET endpoint."},"warnings":[{"fix":"Use spring-boot-starter-webmvc for new projects.","message":"This starter is deprecated in favor of spring-boot-starter-webmvc.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'applic':11 'boot':2,23 'build':7 'contain':21 'default':19 'embed':20 'includ':9 'mvc':14,26 'rest':10,25 'spring':1,13,22 'starter':3,5 'tomcat':16 'use':12,15 'web':4,8,24","created_at":"2026-06-15T08:33:25.635215+00:00","updated_at":"2026-06-15T08:33:25.635215+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://spring.io/projects/spring-boot","github":"https://github.com/spring-projects/spring-boot","docs":"https://appdoc.app/artifact/org.springframework.boot/spring-boot-starter-web/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}