本地eclipse 配置 jetty

这篇博客介绍了如何在本地Eclipse环境中配置Jetty服务器。首先,通过find命令安装Jetty并完成安装,接着重启系统。然后,在d:/创建jetty.xml文件以配置Jetty服务器,并在启动参数中指定该配置文件的路径。最后,通过浏览器访问localhost:8080即可查看配置效果。
摘要由CSDN通过智能技术生成

 

find输入jetty进行安装

安装给你完重启

1.文末先创建d:/jetty.xml

配置jetty服务器

 

argument配置jeety.xml的路径

启动浏览器输入localhost:8080就能访问了

 

 

 

创建d:/jetty.xml

<?xml version="1.0"?>

<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">



<!-- =============================================================== -->

<!-- Documentation of this file format can be found at:              -->

<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax        -->

<!--                                                                 -->

<!-- Additional configuration files are available in $JETTY_HOME/etc -->

<!-- and can be mixed in. See start.ini file for the default         -->

<!-- configuration files.                                            -->

<!--                                                                 -->

<!-- For a description of the configuration mechanism, see the       -->

<!-- output of:                                                      -->

<!--   java -jar start.jar -?                                        -->

<!-- =============================================================== -->



<!-- ==&#
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值