From 3b1943cd196cd0f961402e389e1768b04782a2b0 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Wed, 25 Mar 2015 22:44:34 +0800 Subject: [PATCH] Update 64.15.1. Use Jetty 8 with Maven.md --- .../64.15.1. Use Jetty 8 with Maven.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/IX. ‘How-to’ guides/64.15.1. Use Jetty 8 with Maven.md b/IX. ‘How-to’ guides/64.15.1. Use Jetty 8 with Maven.md index e69de29..9bbe670 100644 --- a/IX. ‘How-to’ guides/64.15.1. Use Jetty 8 with Maven.md +++ b/IX. ‘How-to’ guides/64.15.1. Use Jetty 8 with Maven.md @@ -0,0 +1,31 @@ +### 64.15.1. 通过Maven使用Jetty8 + +如果正在使用starter pom和parent,你只需添加Jetty starter,去掉WebSocket依赖,并改变version属性,比如,对于一个简单的webapp或service: +```xml + + 8.1.15.v20140411 + 2.2.0.v201112011158 + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.springframework.boot + spring-boot-starter-jetty + + + org.eclipse.jetty.websocket + * + + + + +```