如何运行 Jetty 的示例项目

请参考下面的命令:

C:\Users\YuCheng\Dkits\jetty>cd demo-base

C:\Users\YuCheng\Dkits\jetty\demo-base>java -jar ../start.jar
2017-05-16 14:25:12.953:INFO::main: Logging initialized @909ms to org.eclipse.jetty.util.log.StdErrLog
2017-05-16 14:25:13.380:WARN::main: demo test-realm is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:13.395:INFO:oejs.Server:main: jetty-9.4.5.v20170502
2017-05-16 14:25:13.425:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/] at interval 1
2017-05-16 14:25:14.178:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=130ms
2017-05-16 14:25:14.695:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2017-05-16 14:25:14.697:INFO:oejs.session:main: No SessionScavenger set, using defaults
2017-05-16 14:25:14.701:INFO:oejs.session:main: Scavenging every 600000ms
2017-05-16 14:25:15.451:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@60285225{/proxy,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-xref-proxy.war-_xref-proxy-any-6728519910878774473.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\xref-proxy.war}
2017-05-16 14:25:15.514:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=16ms
2017-05-16 14:25:15.552:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@1c7696c6{/doc,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/doc/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\doc}
2017-05-16 14:25:15.896:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=55ms
2017-05-16 14:25:15.903:WARN::main: async-rest webapp is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:15.963:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@5149d738{/async-rest,[file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-async-rest.war-_async-rest-any-2908283761663011720.dir/webapp/, jar:file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-async-rest.war-_async-rest-any-2908283761663011720.dir/webapp/WEB-INF/lib/example-async-rest-jar-9.4.5.v20170502.jar!/META-INF/resources],AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\async-rest.war}
2017-05-16 14:25:16.635:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=72ms
2017-05-16 14:25:16.641:WARN::main: test webapp is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:17.025:INFO:oejsh.ManagedAttributeListener:main: update PushFilter null->org.eclipse.jetty.servlets.PushCacheFilter@503f91c3 on o.e.j.w.WebAppContext@52f27fbd{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,STARTING}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
2017-05-16 14:25:17.034:INFO:oejsh.ManagedAttributeListener:main: update QoSFilter null->org.eclipse.jetty.servlets.QoSFilter@730d2164 on o.e.j.w.WebAppContext@52f27fbd{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,STARTING}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
2017-05-16 14:25:17.042:WARN:oeju.DeprecationWarning:main: Using @Deprecated Class org.eclipse.jetty.servlets.MultiPartFilter
2017-05-16 14:25:17.191:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@52f27fbd{/test,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test.war-_test-any-8348816481088530097.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test.war}
2017-05-16 14:25:17.365:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=35ms
2017-05-16 14:25:17.371:WARN::main: test-jaas webapp is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:17.401:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@3f1d2e23{/test-jaas,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-jaas.war-_test-jaas-any-2108594123932318298.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-jaas.war}
2017-05-16 14:25:17.812:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=16ms
2017-05-16 14:25:17.817:WARN::main: test-jndi webapp is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:17.905:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@93081b6{/test-jndi,file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-jndi.war-_test-jndi-any-6114169873044801101.dir/webapp/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-jndi.war}
2017-05-16 14:25:17.943:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=18ms
2017-05-16 14:25:17.968:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@6e01f9b0{/,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/webapps/ROOT/,AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps\ROOT}
2017-05-16 14:25:17.992:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.MovedContextHandler@4066c471{/oldContextPath,null,AVAILABLE}
2017-05-16 14:25:18.405:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=40ms
2017-05-16 14:25:18.410:WARN::main: test-spec webapp is deployed. DO NOT USE IN PRODUCTION!
2017-05-16 14:25:18.477:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@1ae8bcbc{/test-spec,[file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-spec.war-_test-spec-any-2971344556627942752.dir/webapp/, jar:file:///C:/Users/YuCheng/AppData/Local/Temp/jetty-0.0.0.0-8080-test-spec.war-_test-spec-any-2971344556627942752.dir/webapp/WEB-INF/lib/test-web-fragment-9.4.5.v20170502.jar!/META-INF/resources],AVAILABLE}{C:\Users\YuCheng\Dkits\jetty\demo-base\webapps/test-spec.war}
2017-05-16 14:25:18.493:INFO:oejs.AbstractConnector:main: Started ServerConnector@36a5cabc{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-05-16 14:25:18.538:INFO:oejus.SslContextFactory:main: x509=X509@42530531(jetty,h=[jetty.eclipse.org],w=[]) for SslContextFactory@5a3bc7ed(file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore)
2017-05-16 14:25:18.543:INFO:oejus.SslContextFactory:main: x509=X509@181e731e(mykey,h=[],w=[]) for SslContextFactory@5a3bc7ed(file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore,file:///C:/Users/YuCheng/Dkits/jetty/demo-base/etc/keystore)
2017-05-16 14:25:18.628:INFO:oejs.AbstractConnector:main: Started ServerConnector@17d88132{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
2017-05-16 14:25:18.631:INFO:oejs.Server:main: Started @6588ms

Jetty 运行后的界面: