Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 有关jsp配置的问题,急!急!急!急!
yeehya





发贴: 9
积分: 0
于 2004-05-19 22:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
小的初学jsp。我用的tomcat4.0.1,这是在mapxtreme4.5 for java(一种用于制作基于web的GIS工具软件)中自带的,和我以前用的tomcat版本有点不同。出了点问题,我以http://localhost:8080可以打开tomcat的主页面。可以用html页面,调用applet,也能直接访问servlet。但是访问.jsp文件时,就会报错,而且错误时相同的,都是如下的:
TYPE: Exception report
MESSAGE: Internal Server Error
Description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request
=============================================

Exception:
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
  at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
  at java.lang.Thread.run(Thread.java:536)
=============================================
Root cause:
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
  at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:103)
  at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
  at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
  at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
  at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
  at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
  at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
  at java.lang.Thread.run(Thread.java:536)
=============================================
希望高人指教呀!~




25了才开始学JAVA晚吗?

话题树型展开
人气 标题 作者 字数 发贴时间
2981 有关jsp配置的问题,急!急!急!急! yeehya 6055 2004-05-19 22:13
2509 Re:有关jsp配置的问题,急!急!急!急! whirl79 51 2004-05-19 23:04
2624 Re:有关jsp配置的问题,急!急!急!急! yeehya 3779 2004-05-20 09:53

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923