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
Embedding Jetty 9 - where is jetty-all.jar?
提问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 中找到了它:
The Search Engine for The Central Repositorymay helps you find jar files even you don't use maven
The Central Repository 的搜索引擎可以帮助您找到 jar 文件,即使您不使用 maven