tomcat启动时报错:
a configuration error occured during startup.please verify the preference field with the prompt: cannot connect to VM
解决方法:
Window->Preferences->MyEclipse Enterprice Workbench->Servers->Tomcat->选择你的Tomcat(比如Tomcat 6.x)->点左边的+号->点击JDK->Tomcat JDK name->点击右边的Add->把你的JDK配置进去,默认的JDK是不行的。记住是jdk,不是jre。