问题
This is what I've done so far:
- From "Install New Software", I chose the site: "http://eclipse-jetty.sourceforge.net/update/"
- Installed "Eclipse Jetty Feature".
- 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