多读书,多做事,广交朋友,趣味丛生
分类: Java
2008-05-22 17:30:34
在MyEclipse布署Tomcat 5时报错:
ERROR:A configuration error occurred during startup. Please verify the preference field with
the prompt: Tomcat Jdk name.
ERROR: To launch an application server , a full JDK (not just a JRE) must be specified. If
the selected JRE is actually part of a full JDK, please update its configuration to point to
the JDK installation root directory not to its included jre subdirectory.
解决方法:
窗口->首选项->在左边找到MyEclipse->Application Server->Tomcat5->JDK
我们添加一个新的JDK名称,这里的JRE主目录并不是指向JRE的主安装目录,而是指定JDK的主安装目录!
确定,就OK了!