apache/tomcat — reverse-engineered prompt

Reverse engineered prompt

I want this repo turned into a working local Apache Tomcat build that I can start and use right away on my machine.

Please get it building from source, make sure the server starts cleanly, and leave me with a simple way to run and stop it. When it’s up, I should be able to open the default Tomcat pages in a browser, especially the docs at http://localhost:8080/docs/ and any included example apps if they’re part of the repo. I’d also like a quick sanity check that the core web container features are working, like serving a basic Java web app and the usual JSP and WebSocket support Tomcat is meant to provide.

If anything needs local setup, handle it and document the minimum steps in plain English so I can repeat it later. Please use the project’s own build and running instructions, and look up current Tomcat docs online if you need to. If there are version or environment gotchas, call those out clearly.

Want more depth? Deep Reverse