1、在apache-tomcat/conf/下修改server.xml文件,添加以下配置:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />
2、种启动tomcat服务,cd /bin 执行关闭 :sh shutdown.sh 启动:sh startup.sh
1、在apache-tomcat/conf/下修改server.xml文件,添加以下配置:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />
2、种启动tomcat服务,cd /bin 执行关闭 :sh shutdown.sh 启动:sh startup.sh