重新指定jdk的版本:
startup.bat文件:
SET JAVA_HOME=D:\apache-tomcat-7.0.91\jdk1.7.0_13
SET CATALINA_HOME=D:\apache-tomcat-7.0.91\jdk1.7.0_13
setclasspath文件:
rem Make sure prerequisite environment variables are set
SET JAVA_HOME=D:\apache-tomcat-7.0.91\jdk1.7.0_13
SET JRE_HOME=D:\apache-tomcat-7.0.91\jdk1.7.0.13\jre