Jetty 启动运行的命令

使用命令来运行 Jetty

java -jar start.jar

服务器输出:

C:\Users\YuCheng\Dkits\jetty>java -jar start.jar 2017-05-16 14:01:46.007:INFO::main: Logging initialized @3247ms to org.eclipse.jetty.util.log.StdErrLog 2017-05-16 14:01:46.509:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running from a separate {jetty.base} directory, this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html 2017-05-16 14:01:46.586:INFO:oejs.Server:main: jetty-9.4.5.v20170502 2017-05-16 14:01:46.606:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///C:/Users/YuCheng/Dkits/jetty/webapps/] at interval 1 2017-05-16 14:01:46.764:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} 2017-05-16 14:01:46.767:INFO:oejs.Server:main: Started @4007ms

浏览器访问的结果为: