How do I create a Jetty Server in Eclipse Juno?

你。 提交于 2019-12-08 03:10:14

问题


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)



来源:https://stackoverflow.com/questions/15406342/how-do-i-create-a-jetty-server-in-eclipse-juno

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!