gpt4 book ai didi

java - jetty 测试示例 "not found"

转载 作者:太空宇宙 更新时间:2023-11-04 08:35:29 24 4
gpt4 key购买 nike

我下载了 jetty 并立即启动它 java -jar start.jar 当我浏览到 http://localhost:8080/test 时,它无法工作。

我看到有一条警告,指出它无法“重用..”,但我不明白该消息在说什么。谁能帮我理解这个警告:

2011-06-27 15:53:05.724:INFO::jetty-8.0.0.M3
2011-06-27 15:53:05.739:INFO::Deployment monitor C:\Users\joslim\Documents\Projects\XML-RPC PoC\jetty\webapps at interval 1
2011-06-27 15:53:05.755:INFO::Deployment monitor C:\Users\joslim\Documents\Projects\XML-RPC PoC\jetty\contexts at interval 1
2011-06-27 15:53:05.755:INFO::Deployable added: C:\Users\joslim\Documents\Projects\XML-RPC PoC\jetty\contexts\test.xml
2011-06-27 15:53:05.849:WARN::Can't reuse C:\Users\joslim\AppData\Local\Temp\jetty-0.0.0.0-8080-test.war--any-, using C:\Users\joslim\AppData\Local\Temp\jetty-0.0.0.0-8080-test.war--any-7021813664435934609 2011-06-27 15:53:05.849:INFO::Extract jar:file:/C:/Users/joslim/Documents/Projects/XML-RPC%20PoC/jetty/webapps/test.war!/ to C:\Users\joslim\AppData\Local\Temp\jetty-0.0.0.0-8080-test.war--any-7021813664435934609\webapp 2011-06-27 15:53:06.395:INFO::started o.e.j.w.WebAppContext{/,file:/C:/Users/joslim/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war--any-_7021813664435934609/webapp/},C:\Users\joslim\Documents\Projects\XML-RPC PoC\jetty/webapps/test.war
2011-06-27 15:53:06.660:INFO:org.eclipse.jetty.servlets.TransparentProxy:TransparentProxy @ /javadoc to http://download.eclipse.org/jetty/stable-7/apidocs 2011-06-27 15:53:06.660:INFO::Deployable added: C:\Users\joslim\Documents\Projects\XML-RPC PoC\jetty\contexts\javadoc.xml
2011-06-27 15:53:06.675:INFO::Started SelectChannelConnector@0.0.0.0:8080 STARTING

最佳答案

尝试http://127.0.0.1:8080/。因为 contexts/test.xml 中的“contextPath”值默认为“/”。

关于java - jetty 测试示例 "not found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6498223/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com