# !! IMPORTANT !! RUN AS ADNIMISTRATOR
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Read https://chocolatey.org/install
# !! IMPORTANT !! RUN AS ADNIMISTRATOR
choco install vscode --force -y
# !! IMPORTANT !! RUN AS ADNIMISTRATOR
choco install openjdk --force -y
# !! IMPORTANT !! RUN AS ADNIMISTRATOR
choco install maven --force -y
# !! IMPORTANT !! RUN AS ADNIMISTRATOR
choco install watchexec --force -y
https://marketplace.visualstudio.com/items?itemName=samuel-weinhardt.vscode-jsp-lang
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-rsp-ui
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-community-server-connector
mvn archetype:generate -DarchetypeGroupId="org.apache.maven.archetypes" -DarchetypeArtifactId="maven-archetype-webapp" -DarchetypeVersion="1.5"
groupId
: jsp080artifactId
: jsp080version
:package
: com.the.ex
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
watchexec -r -e java,xml,jsp,html,css,js -i 'target/**/*.html' -i 'target/**/*.jsp' -i 'target/**/*.js' -i 'target/**/*.css' -i 'target/**/*.xml' -i 'target/**' -i 'target' -- mvn clean package
<PROJECT_NAME>/target/<PROJECT_NAME>.war
, then click Run on Server