Tomcat环境变量设置都没有错,端口也未被占用,找了几小时,最后发现
D:\apache-tomcat-7.0.37\webapps\ROOT\WEB-INF中的web.xml:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
但是在D:\apache-tomcat-7.0.37\webapps\ROOT中只存在index.jsp而不存在index.html!!!
坑爹的
然后打开http://localhost/manager/index.jsp发现要密码,修改D:\apache-tomcat-7.0.37\conf下的tomcat-users添加:
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
发现还是打不开,最后貌似是IIS没打开,打开IIS(Internet 信息服务)中的FTP需要打开最后稀里糊涂的成果了