---
title: "Eclipse RunJettyRun 插件使用"
author: "TimerBin"
date: "2016-04-15T15:11:13Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-runjettyrun"
draft: false
lastmod: "2016-04-15T15:11:13Z"
id: 2291541
url: "https://timerbin.iteye.com/blog/2291541"
---

jetty容器效率非常高，于是在开发过程中一直使用jetty容器，在项目使用过程中遇到一些问题，以下是相关问题的笔记：

 

1、更新RunJettyRun 插件中的自有jar包

由于eclipse使用的RunJettyRun插件比较古老，一些jar包版本比较古老，像servlet-api.jar常用的包，可以在eclipse的Debug Configurations &gt;&gt;Jetty Webapp &gt;&gt; Jetty Classpath 左边菜单中关闭老版本Jar包使用，通过对Custom Jetty Classpath &gt;&gt; Add External JARS 添加外部高版本包引入:

![](http://dl2.iteye.com/upload/attachment/0116/6657/7d9aa95f-bd6a-3f84-bfa0-82291421a80a.bmp)  
 

2、升级RunJettyRun 插件

使用Eclipse在线升级RunJettyRun 插件比较耗时(而且好像时间长还搞不定)，可以选择下载离线包进行安装，下载地址如下所示：http://download.csdn.net/detail/junnef/9433249

eclipse &gt;&gt; help &gt;&gt; install new software &gt;&gt; add 选中刚刚下载的包即可

![](http://dl2.iteye.com/upload/attachment/0116/6665/624bdee9-862f-32cd-8cc8-19543cf33b73.bmp)  
 

安装完成后可在下图中选择使用jetty版本信息：

 

![](http://dl2.iteye.com/upload/attachment/0116/6667/855c5ff0-3d86-337e-9b17-0cf8128891c3.bmp)  
 

 

注:当存在jar包版本过老时优先选择升级jetty版本