How do I create a Jetty Server in Eclipse Juno?

2019-05-19 02:16发布

问题:

This is what I've done so far:

  1. From "Install New Software", I chose the site: "http://eclipse-jetty.sourceforge.net/update/"
  2. Installed "Eclipse Jetty Feature".
  3. Restarted Eclipse after the installation.

However, Jetty does not show up in the list of servers in the New Server wizard.

Any ideas what I'm doing wrong here? I'm a complete newbie to Java. I'm a C# programmer and I'm learning to use Eclipse and such. Sorry if I'm missing something obvious.

UPDATE 1

Screenshot of New Server > Download additional server adapters

If I attempt to install the server adapter, I see this error message during the installation:

UPDATE 2

Screenshot of Installed software

Screenshot of New Server Wizard

Screenshot of Run Configurations

Screenshot of Preferences > Run/Debug > Perspectives

回答1:

Can you confirm Eclipse Jetty Feature is installed?

 Help -> Install New Software > what is already installed?

Then to run Jetty you can add it in the Run Configurations or Debug Configurations under Jetty Webapp

Quick tutorial (you don't need the "Run Jetty Run" plugin)



标签: eclipse Jetty