• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

1.打开终端,进入project webapp目录,如图:

xas5ao5zxan5058.png

lwzu4ffwzkq5059.png

2.进入webapp目录,在终端输入以下命令:(后面有个点,代表当前路径)

jar -cvf webdemo.war。

a35ibz50c2f5060.png

此时,键入的war包会出现在webapp目录中,如图:

swdtzaml0by5061.png

3.将键入的war包复制到Tomcat:hiailjmk3qw5062.png的webapps路径

4.启动tomcat服务,tomcat会自动解压war包。

le00y44a0r05063.png

5.核实结果

pp2cvcer41x5064.png

Link to comment
Share on other sites