Рет қаралды 40,626
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: maven.apache.o...
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!
buymeacoffee.c...
#MavenVSCode #CoolITHelp