关了重新启动,再你看看你web.xml是不是有错误

解决方案 »

  1.   

    重启没用。。web.xml本地没事
    服务器上应该也没有问题吧。
    我没改过其他的东西
      

  2.   

    判断是不是web.xml的问题最有效的方法,就是
    只保留
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>再启动jboss,如果能访问index.jsp,那就是web.xml的其他配置有问题了。
    如filter,servlet或者是listener等。