The first issue I encounter is when I try to use “Jetty At Path” in the run configurations (I have Jetty V 9.4.28), I encounter this problem “java.lang.NoSuchMethodException: addBefore”. I have tried googling it, but nothing came up. When I use “Jetty Provided By Launcher Plugin (Jetty 9.3)” the server runs fine.
The second issue I have been encountering is this:
Up until the POST request section, everything has run smoothly. But unfortunately every time I attempt the POST request submission, the output never gets displayed.
For example, the post request from “index.html” in the “GreetingWebApp” (location: GreetingWebApp/index.html) should display the submitted “name” value at a dynamic location as generated by the servlet and referenced by the web.xml file at “/hello” but I always encounter a 404 error and it is showing that it’s attempting to reach the “/hello” display at “http://localhost:8080/hello” which is outside of the “http://localhost:8080/GreetingWebApp/” domain…
Do you have any idea what the problem might be? I have tried everything I can think of, but nothing seems to work, and I have simply copy/pasted your code into my files, so I’m pretty certain it’s not a manual error regarding syntax or anything like that.