因在MyEclipse中配置了两个jdk,当配置tomcat的时候,默认选择了jdk5,当将jdk5删掉后,导致启动tomcat时,报错,如下:
a configuration error occurred during startup.
please verify the preference field with the prompt:Tomcat JDK name;
此时,需要将windows-->server-->tomcat-->jdk中选择你想要的jdk版本即可。