首页 文章

码头测试示例“未找到”

提问于
浏览
1

我下载了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间隔1 2011-06-27 15:53:05.755:INFO ::部署监视器C:\ Users \ joslim \ Documents \ Projects \ XML-RPC PoC \ jetty \ contexts,间隔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 ::无法重用C:\ Users \ joslim \ AppData \ Local \ Temp \ jetty-0.0.0.0-8080-test.war - any-,使用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!/到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 oejwWebAppContext {/,file:/ C:/Users/joslim/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war--any-_7021813664435934609/we bapp /},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

3 回答

  • 1

    试试 http://127.0.0.1:8080/ . 默认情况下,在contexts / test.xml中,"contextPath"值为"/" .

  • 0

    http://localhost:8080/尝试查看战争是否与根绑定

    或者如果它被绑定为http://localhost:8080/test.war

  • 0

    如果我使用 http://127.0.0.1:8080/ ,为我工作 .

    如果我使用 localhost 而不是 127.0.0.1 ,它不起作用 .

相关问题