Skip to content

Laveycc/myfirst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

第一步:修改tomcat-users.xml配置文件,配置用户、密码和权限

<role rolename="manager-gui" />
<role rolename="manager-script" />
<user username="tomcat" password="tomcat" roles="manager-gui, manager-script"/>

第二步:在pom文件中配置tomcat插件。 这里写图片描述 第三步:部署 初次部署可以使用 "tomcat7:deploy" 命令 如果已经部署过使用 "tomcat7:redeploy" 命令

这里写图片描述 注意: 先启动tomcat,再进行部署。 部署完成后,就可以通过部署的网址进行访问了。

About

我的第一个仓库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors