This repo has been forked to serve as the minimum basis to validate that the correct environment is installed on your machine.
This includes all (but is not limited to) the following prerequisites:
- VScode installed
- All the Java related VScode-plugins installed
- JRE/JDK installed on your machine (v17 at least for JAVA LSP to work)
- Tomcat app server installed
- Maven installed
Tip
All this can be installed without admin rights, even on Windows.
Just look for "portable install".
Check this youtube.link for the basics on how to install/build/run/debug this mini-project.
"Run and Debug Java Web Application in Tomcat using VS Code" by LearningFromExperience
- All the "black magic" I've seen done by Eclipse is here a bit less obsfucated : it is maven and its pom.xml file that orchestrates everything. Just take a look if needed !
- Even an elementary project as this one exhibits some cool features : auto-reloading, debugging, session handling, ...
- /!\ Beware of the subtleties between .INCLUDE() vs .FORWARD()
- /!\ Beware of redefining the default Servlet ( / ) : it can be called on surprising cases, espacially when including basic static ressources...
Warning
This is not, in any case, a demonstration of good practices :-)
Keep this in mind, just the absolute bare minimum to get going.