一、配置
1、下载Jetty7。网址:http://www.cr173.com/soft/64026.html
2、在Myeclipse中windows->Preference下,搜索Jetty。
3.1、jetty server下选择Enable
3.2、选择对应目录
3.3、去掉“use context deployer”的对勾
二、报错
1、错误信息。java.lang.ClassNotFoundException: org.eclipse.jetty.plus.webapp.Configuration
2、修改
2.1、删除解压目录下“jetty-hightide-7.5.0.v20110901\contexts”的项目名+xml文件,重新启动
2.2、如果“use context deployer”是勾选的,那么就改未不勾选
三、修改端口
1、修改解压目录下“jetty-hightide-7.5.0.v20110901\etc”的xml配置
<Set name="port"><Property name="jetty.port" default="8080"/></Set>