修改 tomcat/conf/context.xml 文件,添加以下红色行 tomcat8: <Context ><Resources allowLinking="true" /> </Context>