Back to Browse

How to create a Maven Based Web Project in Visual Studio code? | Maven Setup VS Code

46.1K views
May 11, 2021
12:49

In this tutorial session, we will learn to create a Maven-based Web project in Visual Studio Code. Prerequisite: Java/JDK must be installed on the system. How to set up Apache Maven 3.8 in Visual Studio Code? **************************************************** Step 1: Download the Latest maven package: download link: https://maven.apache.org/download.cgi package name: apache-maven-3.8.1-bin.zip Step 2: Setup Environment variable: MAVEN_HOME = path to maven package. Step 3: Maven installation verification: open cmd and type : mvn -v Step 4: Open Visual Studio Code. Step 5: Download the following extension in VS Code: i) Java Project Manager by Microsoft ii) Maven for java by Microsoft [vs code restart.] Step 6: Now create a Maven Web project in VS Code. Step 7: Build the project and Create a War file. mvn clean package Note: deploy and run on Tomcat will be explained in the next tutorial session. Thanks. If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link! https://buymeacoffee.com/CoolITHelp #MavenVSCode #CoolITHelp

Download

1 formats

Video Formats

360pmp419.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to create a Maven Based Web Project in Visual Studio code? | Maven Setup VS Code | NatokHD