- Download and run tomcat.
- Build war: build-war.sh
% ./build-war.sh
### Create helloworld.war file
Calling jar
added manifest
adding: index.jsp(in = 98675) (out= 74186)(deflated 24%)
adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
adding: WEB-INF/web.xml(in = 63) (out= 48)(deflated 23%)
Moving helloworld.war to dist/ with option --FORCE
mv: rename helloworld.war to dist/: No such file or directory
Done
- Copy war to webapps:
cp helloworld.war ../apache-tomcat-11.0.1/webapps/
