This is a basic demo project that shows how to use Thymeleaf (a modern server-side template engine for Java) with Spring Boot 3.
This project is released under the MIT License, a very permissive free software license.
See the full text of the license: LICENSE.txt
You can build and run the application in different ways (depending on your environment and/or IDE).
From command line (in project's main directory):
- run
mvn package
- go into the
target/
directory - run
java -jar spring-boot3-thymeleaf-basic-demo.jar
From command line (in project's main directory):
- run
mvn spring-boot:run
- import the project (“File” -> “Import...” then “Existing Maven Projects” etc...)
- build the project (if “Build Automatically” is not active)
- locate the
SpringBoot3ThymeleafBasicDemoApp
class and then “Run As” -> “Java Application”
Note: other IDEs (e.g. NetBeans, IntelliJ IDEA) can also be used, the import procedure may be very similar.
Once the application is running, point your preferred browser to http://localhost:8080. You should see a simple page showing some version informations.