Skip to main content
ProductsDesktop toolsTASTECADDrawing reviewTASTEFILESFile managementTASTEFTPFile transferTASTESSHRemote workspaceTASTEZIPCompression and extractionTASTEWINMFile managementDeveloper toolsTASTECODERust integrated development environmentTASTESTUDIOIntegrated development and test environmentTASTEETLData integration (ETL)ServersTASTEREMOTERemote desktop serverTASTEGEOGeospatial serverTASTEMAILMail workspaceInvestingTASTESTOCKStock auto-trading desktop appGet startedDownloadsDocumentationBuyAll products
Marketplace
News
TechNewsToday's dev newsDeveloper docsProgramming languagesRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartWeb front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngularServer frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressApp & desktop frameworksTauriFlutterReact NativeElectronAlgorithmsAlgorithm basicsCore algorithmsAdvanced algorithmsPractical algorithms
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcaseCommunity guide
Work with usTech transferWebsite buildDesktop app buildRelease and payment pipelineSales partnerContact
ServicesRemote desktopCustom installer packages
TASTEDEV
Products

Desktop tools

TASTECADComplex drawings, opened with easeTASTEFILESJust the files you need, as fast as possibleTASTEFTPThe tidiest path for your filesTASTESSHA stronger link between you and your serversTASTEZIPPack faster, unpack saferTASTEWINMA keyboard-first file manager with two panes

Developer tools

TASTECODEEdit, build, debug and test Rust apps in one windowTASTESTUDIOFrom editing to remote tests and approved AI fixesTASTEETLMove data while you watch the values

Servers

TASTEREMOTEA remote desktop you run on your own serverTASTEGEORebuilding a GeoServer-compatible geospatial server in RustTASTEMAILTake back control of your email

Investing

TASTESTOCKStock auto-trading that follows the rules you set: when, and what

Get started

DownloadsLatest builds of every productDocsHow to use each productBuySubscriptions and perpetual licencesAll productsEvery product at a glance
All products
MarketplaceNews
Tech

News

Today's dev newsOfficial announcements on languages, frameworks, GitHub and AIDeveloper docsGuides to languages, frameworks and algorithms

Programming languages

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Web front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngular
Server frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
App & desktop frameworksTauriFlutterReact NativeElectron

Algorithms

Algorithm basicsComplexity analysis · Sorting · Searching · Basic data structures · Trees and heapsCore algorithmsGraph traversal · Shortest paths & minimum spanning trees · Dynamic programming · Greedy algorithms · Divide and conquer · BacktrackingAdvanced algorithmsString algorithms · Math and number theory · Bit manipulation · Segment trees · Union-findPractical algorithmsCoding interview strategy · LRU cache · Rate limiting · Consistent hashing
All development docs
Community
ProjectsDiscover builders and their workDevelopment logsDecisions and lessons learnedPromptsReusable instructionsAI tool issuesProblems and workarounds for Claude, Codex, GeminiShowcaseFinished resultsCommunity guideHow we build in the open
Work with us
Tech transferNative apps in Rust and eguiWebsite build10 languages, accounts, docs and downloadsDesktop app buildRust and egui, no WebViewRelease and payment pipelineSigning, MSI, deb, rpm, AppImage, hashesSales partnerRecommend us and earn 30%ContactBuilds, partnerships and investment
Services
Remote desktopReach your computer from a browserCustom installer packagesOnly the features you need, settings preloaded
Buy
EN
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Log in
Log in
TASTEDEV

From small tools to better development.

support@tastedev.netSupport TASTEDEV
ProductsProduct lineupBuyDocsDownloadsMarketplaceSupport
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcase
PoliciesAbout usPrivacy policyTerms of serviceSubscription termsRefund policyCommunity guidelines
AccountLog inSign up
Visitors
Today
Yesterday
Total views
Company
GXSOFT
Representative
CHOI YOUNG GU
Business registration number
853-44-00368
Address
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Phone
+82-10-4404-1523
Email
whitecalvin@tastedev.net
Privacy officer
CHOI YOUNG GU

© 2026 TASTEDEVProduct information is based on verified development sources.Released · improving

Spring Boot docs
Spring Boot
Getting Started with Spring BootProject Structure and ConfigurationCore ConceptsData and StateTestingDeployment
Discussions

Spring Boot guide · 1/6

Getting Started with Spring Boot

This chapter walks you from an empty folder to a running Spring Boot application that answers its first HTTP request. Along the way you will set up your editor and add DevTools so the app restarts whenever you change code.

Prerequisites

Spring Boot applications run on the JVM, so you need a JDK. The current generation of Spring Boot requires Java 17 or later, and the latest LTS release is a good default. You do not need to install Gradle or Maven: every generated project ships with a wrapper script (gradlew or mvnw) that downloads and runs the right build tool version.

# Check that a JDK is installed
java -version

Create a project with Spring Initializr

New projects usually start at Spring Initializr. Pick a build tool (Gradle or Maven), a language (Java, Kotlin or Groovy), the Spring Boot version, group and artifact names, the Java version and your dependencies, then click Generate to download a zip file. You can do the same from the command line with curl:

curl https://start.spring.io/starter.zip \
  -d type=gradle-project \
  -d dependencies=web,devtools \
  -d baseDir=demo \
  -o demo.zip
unzip demo.zip && cd demo

The web dependency is the web starter: Spring MVC plus an embedded Tomcat server. Use type=maven-project for Maven, or add language=kotlin for Kotlin. Run curl https://start.spring.io to list every supported parameter. IntelliJ IDEA, VS Code and Eclipse all call the same Initializr service from their new-project wizards.

Write your first controller

The generated DemoApplication.java is the entry point of the application. Add a controller class next to it, in the same package:

package com.example.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(@RequestParam(defaultValue = "World") String name) {
        return "Hello, " + name + "!";
    }
}

@RestController marks a class that handles HTTP requests and writes each method's return value straight into the response body. @GetMapping("/hello") routes GET /hello requests to the method.

Run the development server

Start the application with the command for your build tool. The embedded web server listens on port 8080 by default.

# Gradle project (on Windows: gradlew.bat bootRun)
./gradlew bootRun

# Maven project (on Windows: mvnw.cmd spring-boot:run)
./mvnw spring-boot:run

# In another terminal
curl "http://localhost:8080/hello?name=Spring"

If you see Hello, Spring!, everything works. To change the port, add server.port=9090 to src/main/resources/application.properties.

Automatic restarts with DevTools

spring-boot-devtools restarts the application whenever files on the classpath change, and applies development-friendly defaults. If you included devtools in the curl command above, it is already there. Otherwise add it like this:

// build.gradle.kts
dependencies {
    developmentOnly("org.springframework.boot:spring-boot-devtools")
}
<!-- pom.xml -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
    <optional>true</optional>
</dependency>

DevTools switches itself off when the app runs as a packaged jar with java -jar. In IntelliJ IDEA a restart only happens after the project is rebuilt, so enabling automatic builds makes the loop much smoother.

Editor setup

  • IntelliJ IDEA: opens Gradle and Maven projects directly; the Ultimate edition adds dedicated Spring support such as bean navigation and configuration completion.
  • VS Code: install the Extension Pack for Java and the Spring Boot Extension Pack.
  • Eclipse: install Spring Tools for a Spring Boot project wizard and the Boot Dashboard.

All of them offer completion and inline documentation for keys in application.properties, so you never have to memorize configuration names.

Summary

  • All you need is a JDK; the wrapper scripts take care of the build tool.
  • Create projects with Spring Initializr, on the web or with curl.
  • Start the embedded server with ./gradlew bootRun or ./mvnw spring-boot:run.
  • Add DevTools to get automatic restarts while you code.
Questions about this chapter?
Next chapterProject Structure and Configuration

0 comments

Top commentsNewest first

Sign in · Sign in to leave a comment.