Spring Boot – Jetty as embedded server
By default, Spring Boot use Tomcat as the default embedded server, to change it to Jetty, just exclude Tomcat and include Jetty in pom.xml . From the dependency: spring-boot-starter-web, we…
Favourite tutorials for developers
By default, Spring Boot use Tomcat as the default embedded server, to change it to Jetty, just exclude Tomcat and include Jetty in pom.xml . From the dependency: spring-boot-starter-web, we…
In Spring Boot, by default, the context path is “/”. To change the context path, we need to update server.contextPath properties. The following examples update the context path from /…
In Spring Boot, to change the embedded Tomcat initialized port (8080), update server.port properties. Tested with Spring Boot 1.4.2.RELEASE
Tomcat by default runs on port number 8080, However there is high chance get a port conflict with others program. Sometime we just need to change the Tomcat port number.
It is always a good idea to delete unwanted or unused user accounts on Ubuntu Linux or any other operating system for security reasons. This page shows how to remove…
Maybe you’re troubleshooting a network connectivity issue for a specific program, and you need to check whether its port access is open. What if you need to confirm that your…
By default, Homebrew will install all packages in the directory /usr/local/Cellar/, and also creates symbolic links at /usr/local/opt/ and /usr/local/bin/ (for executable files). Tested with Homebrew 2.7.2 and macOS Big…
This tutorial shows you how to set a JAVA_HOME system variable on Windows 10. Tested with :Windows 10JDK 1.8
This article shows how to install Maven (3.6.3) on macOS Big Sur (version 11.1). We can use Homebrew to install Maven on macOS . If Homebrew failed you or you…
To install Apache Maven on Windows, you just need to download the Maven’s zip file, unzip it to a folder, and configure the Windows environment variables. Tested with :JDK 10,…