检查一下你的web.xml文件中有没有设置<welcome-file-list>,就像这样:
<welcome-file-list>
<welcome-file>index</welcome-file>
</welcome-file-list>
或者你也可以这样:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
看下你有没有对应的index地址,或者是index.jsp这个文件,如果你是设置的index.jsp,那么必须要有这个index.jsp这个文件才行。
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…