http://localhost:8080/manager/text
需修改 tomcat 之 conf/tomcat-users.xml
加入
代碼: 選擇全部
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="tomcat" password="s3cret" roles="manager-gui,manager-script"/>
</tomcat-users>