jive安装错误

05-01-22 hackerlyf
我在WinxpH+Tomcat5.0+Jdk1.42环境下安装jive,第一步就出错,内容如下:

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.

This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK

to the common/lib directory of the Tomcat server, followed by a Tomcat restart.

If using an alternate Java compiler, please check its installation and access path.

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)

org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

com.jdon.util.HttpResponseCacheFilter.doFilter(HttpResponseCacheFilter.java:52)

note The full stack trace of the root cause is available in the Tomcat logs.

--------------------------------------------------------------------------------

Apache Tomcat/5.0.16

我把Tomcat换成4.1.31版本,运行安装时系统提示已经运行过安装程序,这是什么原因,要怎么解决?

mzyp
2005-01-25 16:01
请正确配置javac所在路径,以下供参考

1、装上JDK、TOMCAT、j2sdkee并解压jakarta-tomcat到d盘根目录,并改目录名为

tomcat,记下JDBC安装后所在目录,替换d:\tomcat\common\lib

2、环境变量设置如下:

classpath d:\j2sdk1.4.1\lib\tools.jar;d:\j2sdk1.4.1\lib\dt.jar;d:\j2sdk1.4.1\lib\htmlconverter.jar;

JAVA_HOME d:\j2sdk1.4.1

J2EE_HOME d:\j2sdkee1.3.1

TOMCAT_HOME d:\tomcat

3、执行startup.bat来启动tomcat

配置SQLSERVER FOR JSP

在classpath增加d:\tomcat\common\lib\mssqlserver.jar;d:\tomcat\common\lib\msutil.jar;d:\tomcat\common\lib\msbase.jar;

猜你喜欢