1.记得要在系统变量里添加tomcat的路劲,通常我们会用myeclipse直接启动tomcat,所以不要忽略了
2.添加tomcat的管理用户
TOMCAT_HOME/conf/tomcat-users.xml file
under the tomcat-users root element. This will
create a user with the name admin and the password password, having the
manager-gui and manager-script roles.
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="admin" password="passwor