Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2290937
  • 博文数量: 266
  • 博客积分: 5485
  • 博客等级: 大校
  • 技术积分: 3695
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-20 11:05
个人简介

多读书,多做事,广交朋友,趣味丛生

文章分类

全部博文(266)

分类: 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了!

阅读(7486) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~