06
07 < html >
08
09 < head >
10
11 < meta http-equiv = "Content-Type" content = "text/html; charset=GB18030" >
12
13 < title >Insert title here</ title >
14
15 </ head >
16
17 < body >
18
19 < font size = 6 color = red >< BR ></ BR > If you see this, It turns out your Hot Deploy ENV is OK!</ font >
20
21 </ body >
22
23 </ html >
Web.xml啥內(nèi)容都沒(méi)有,隨便從別的項(xiàng)目中拷貝一個(gè)過(guò)來(lái)就成。
7、 Demo項(xiàng)目,鼠標(biāo)右鍵,Run As 選擇 Maven build,出現(xiàn)如下界面:
在Goals中添加點(diǎn)東西:package tomcat:redeploy
這句話是什么意思呢?運(yùn)行build的目的就是打包,同時(shí)部署到tomcat上。
然后你就可以開(kāi)始繼續(xù)蹂躪了,加入自己的精華吧!