各位高手,请教

yulf
02-09-25 2 201

我具体配置是: win98se tomcat3.2 jdk1.4
我将tomcat和jdk1.4都装在d盘。路径设置为如下:
SET PATH="%PATH%";D:\JDK1.4;D:\JDK1.4\BIN;D:\TOMCAT\BIN;C:\PROGRA~1\MICROS~1\80\TOOLS\BINN;C:\PROGRA~1\ULTRAE~1
set JAVA_HOME=d:\jdk1.4
set TOMCAT_HOME=d:\tomcat
set jdk_home=d:\jdk1.4

SET CLASSPATH=.;d:\JDK1.4\LIB; d:\tomcat\lib;D:\tomcat\webapps\jive\admin\WEB-INF\lib;d:\tomcat\lib\servlet.jar;

jiveHome=d:\\tomcat\\webapps\\jive\\admin\\WEB-INF\\jiveHome
注明:我在tomcat\webapps建立了一个目录命名为jive

运行http://localhost:8080/jive/admin/setup/index.jsp出现以下现象

Error: 500
Location: /jive/admin/setup/index.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:390)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
at org.apache.tomcat.core.Handler.service(Handler.java:263)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Unknown Source)

Root cause:
java.lang.NoClassDefFoundError:



// 在此输入java代码

banq
2002-09-25 10:36

问题出在你在webapps下建立的jive目录,WEB-INF等目录是否有,了解一下在tomcat下如何正确配置Web应用

yulf
2002-09-25 12:08

jive目录中的classes文件里放的是一个jive_init,它指向的是jive目录下的lib文件夹里的.jar文件。