In Eclipse, click File → New → Other → Spring Boot → Spring Starter Project.

check the package below:

Developer Tools → Spring Boot DevTools
Developer Tools → Lombok
NoSQL → Spring Data MongoDB
SQL → Spring Data JPA
SQL → H2 Database
SQL → MySQL Driver
Security → Spring Security
Template Engines → Thymeleaf
Web → Spring Web

Step 1 create package controllers and beans under src/main/java → inside create HomeControll and student class

Step 2 create index.html under src/main/resource/templates

Step 3 in student class add some private data members → Above the class method Lombok student bean with
@Data,
@NoArgsConstructor
@AllArgsConstructor

import lombok.AllArgsConstructor;  import lombok.Data;  import lombok.NoArgsConstructor;    @Data  @NoArgsConstructor  @AllArgsConstructor  public class Student {  	private Long id;  	private String name;  	private String course;  	private double grade;  }  

This free site is ad-supported. Learn more