Jetty 7 的嵌入式方式和以前的版本还是有所区别,详情请见以下链接: [url=http://http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty]Jetty 7 各种嵌入式方式[/url]