Using jetty in Eclipse is very simple and is basically consistent with other IDE configurations. In the past, if you want to debug Web services, you must be under the huge development of plug-ins, such as myeclipse, in fact, just need simple features, but have to accept a lot of infrequently used features. There is no way, now with jetty, if you only want to debug Web services, then please leave those huge development plug-ins. Simple things that are handled in a simple way.
First you create a Web project that I created with Maven, I like it with Maven, and I'm enjoying the convenience it brings. The directory structure of the following figure:
You do not need to place jar files in Web-inf because you are running in Eclipse and automatically adding jars in the corresponding classpath. Just need to put the corresponding JSP file in the WebApp.
Then add the corresponding Jetty.jar, originally I was using MAVEN directly increased, in order to clear the way, the use of manual increase. After all these jars, I was not required. The following figure