想知道你自己究竟是不是高手?请进来解决此问题!!!!!

来源:百度知道 编辑:UC知道 时间:2024/05/24 03:36:06
本人安装Apache公司的Tomcat 5.5 可就是无法解析...所以请各位高手帮帮忙........不胜感激......
打开Tomcat 5.5 界面中出现的是:
This replease of Apache Tomcat was packaged
to run on J2SE 5.0 or later. It can be run
on earalier JUMs. by downloading and installing
a compatibility packege from the Apache Tomcat
blinary download page.

无法解析的原因是你安装的时候设置的JDK目录不正确,你可能设置成了JRE的目录了,修改方法是:进入tomcat根目录下,打开conf\catalina.policy这个文件。看看有没有这几行,grant codeBase "file:${java.home}/lib/-" {
permission java.security.AllPermission;
};

// These permissions apply to all shared system extensions
grant codeBase "file:${java.home}/jre/lib/ext/-" {
permission java.security.AllPermission;
};

// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
grant codeBase "file:${java.home}/../lib/-" {
permission java.security.AllPermission;
};

// These permissions apply to all shared system extensions when
// ${java.home} points at $JAVA_HOME/jre
grant codeBase "file:${java.home}/lib/ext/-" {
permission java.security.AllPermission;
};

如果是这样的配置,那就看看你的系统环境变量里JAV_HOME是不是正确的。

有这种就说法?

不用安装了..直接拷安装完的那个文件夹回来用就行了..我就是这样了~

原因是你机子上装的jdk版本太