Jetty 9.x eclipse 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13881244/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:36:56  来源:igfitidea点击:

Jetty 9.x eclipse plugin

eclipseeclipse-pluginjetty

提问by Tomas

Is there any Jetty 9.x plugin for eclipse?

是否有用于 Eclipse 的 Jetty 9.x 插件?

Something already exists for jetty 8.x but not found for 9.x version.

码头 8.x 已经存在一些东西,但在 9.x 版本中找不到。

回答by Josh Unger

The run-jetty-run nightly builds support jetty 9.0.

run-jetty-run nightly 构建支持jetty 9.0。

Eclipse > Help > Install New Software...

Eclipse > Help > Install New Software...

Enter the URL -

输入网址 -

http://run-jetty-run.googlecode.com/svn/trunk/updatesite-nightly/

http://run-jetty-run.googlecode.com/svn/trunk/updatesite-nightly/

Select RunJettyRun Jetty9 Support.

选择 RunJettyRun Jetty9 支持。

enter image description here

在此处输入图片说明

回答by jesse mcconnell

Nothing provided by the Jetty project itself, but I just added some options on another question.

Jetty 项目本身没有提供任何内容,但我只是在另一个问题上添加了一些选项。

See: Jetty 9 WTP plugin

请参阅:Jetty 9 WTP 插件

回答by gimoh

The eclipse-jettyplugin has support for Jetty 9+ as external installation, i.e. download jetty-distribution zip, extract it e.g. into workspace, then in run config specify the path.

Eclipse的码头插件有码头支持9+外部安装,即下载码头分布压缩,解压缩到例如工作空间,然后在运行配置指定路径。

eclipse-jetty run config options

eclipse-jetty 运行配置选项

回答by xzer

There is a fork of original run-jetty-run, which supports the newest jetty 9.3.6.

run-jetty-run一个fork,支持最新的jetty 9.3.6。

回答by JavaDeveloper

@Magnilex: this server will not act as an instance that we use to create in server view. In Josh Unger's method to add Jetty 9, you need to right click on the project and go to Run As> Jetty

@Magnilex:此服务器不会充当我们用于在服务器视图中创建的实例。在Josh Unger的添加Jetty 9的方法中,需要在项目上右键点击Run As>Jetty

Pic: This is how it is going to be

图片:这就是它的样子

and go to run configurations for the project and change it to Jetty 9.

并去运行项目的配置并将其更改为 Jetty 9。

Pic: Changing to Jetty 9

图:换到Jetty 9

I was able to run successfully Jetty 7, 8 and on 9 as well. Thanks. Harpreet.

我也能够成功运行 Jetty 7、8 和 9。谢谢。哈普雷特。