当前位置: 代码迷 >> Java Web开发 >> 求教tomcat5.0
  详细解决方案

求教tomcat5.0

热度:334   发布时间:2005-04-18 20:49:00.0
求教tomcat5.0

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:83)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
	org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

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


Apache Tomcat/5.0.25

搜索更多相关主题的帖子: message  request  ffffff  server  

----------------解决方案--------------------------------------------------------
不能编译jsp文件
找不到jsp的源文件
----------------解决方案--------------------------------------------------------
问题解决了,把tool.jar文件复制到tomcat目录的comman\lib就可以了
另外,刚遇到个问题,sql2000必须装sp3才能用微软的jdbc。嘿嘿,希望大家别走弯路
----------------解决方案--------------------------------------------------------
不知道MS的那个驱动有什么好的
等你们以后做开发的时候就知道,ms的东东有多烂了
----------------解决方案--------------------------------------------------------