Java 嵌入 Jetty 9 - jetty-all.jar 在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18010150/
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-08-11 21:46:07  来源:igfitidea点击:

Embedding Jetty 9 - where is jetty-all.jar?

javajetty

提问by Jules

I'm trying to embed Jetty 9 in my project, and the tutorial at http://www.eclipse.org/jetty/documentation/current/advanced-embedding.html#jetty-helloworldsuggests I need a file called "jetty-all.jar", but I can't seem to find this in the download distribution. Where do I get it from? I'm not using maven.

我正在尝试将 Jetty 9 嵌入到我的项目中,http://www.eclipse.org/jetty/documentation/current/advanced-embedding.html#jetty-helloworld 上的教程建议我需要一个名为“jetty- all.jar”,但我似乎无法在下载分发中找到它。我从哪里得到它?我没有使用maven。

采纳答案by Septem

I found it in maven repo with a different version:

我在不同版本的 maven repo 中找到了它:

http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/9.0.4.v20130625/jetty-all-9.0.4.v20130625.jar

http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/9.0.4.v20130625/jetty-all-9.0.4.v20130625.jar

The Search Engine for The Central Repositorymay helps you find jar files even you don't use maven

The Central Repository 的搜索引擎可以帮助您找到 jar 文件,即使您不使用 maven