1。首先在新起來的項目new 一個tomcat,相關配置本身搞定tomcat
2.項目右擊 build path---libraries---add libaries---server runtime ---選擇tomcat,ui
這就會自動導入http的jarserver