Foros del Web » Programación para mayores de 30 ;) » Java »

Error JSP + TOMCAT

Estas en el tema de Error JSP + TOMCAT en el foro de Java en Foros del Web. Hola a todos tengo un problema ejecutar mis paginas jsp con tomcat 5.0 Parece q tiene q ver con algo como: org.xml.sax.SAXParseException: The encoding "windows-1252" ...
  #1 (permalink)  
Antiguo 23/08/2004, 08:48
Avatar de fermartinfer  
Fecha de Ingreso: diciembre-2003
Mensajes: 84
Antigüedad: 20 años, 11 meses
Puntos: 0
Error JSP + TOMCAT

Hola a todos tengo un problema ejecutar mis paginas jsp con tomcat 5.0

Parece q tiene q ver con algo como:

org.xml.sax.SAXParseException: The encoding "windows-1252" is not supported.

pero no puedo descubrir lo que es

Este es el error:


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:
at org.apache.jasper.xmlparser.ParserUtils.parseXMLDo cument(ParserUtils.java:145)
at org.apache.jasper.compiler.JspConfig.processWebDot Xml(JspConfig.java:113)
at org.apache.jasper.compiler.JspConfig.findJspProper ty(JspConfig.java:219)
at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:209)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:458)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:444)
at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:603)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:300)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:293)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:205)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:177)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:203)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:637)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:488)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:536)







root cause

org.xml.sax.SAXParseException: The encoding "windows-1252" is not supported.
at org.apache.xerces.framework.XMLParser.reportError( XMLParser.java:1067)
at org.apache.xerces.readers.DefaultEntityHandler.sta rtReadingFromDocument(DefaultEntityHandler.java:54 1)
at org.apache.xerces.framework.XMLParser.parseSomeSet up(XMLParser.java:309)
at org.apache.xerces.framework.XMLParser.parse(XMLPar ser.java:951)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(D ocumentBuilderImpl.java:172)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBu ilder.java:76)
at org.apache.jasper.xmlparser.ParserUtils.parseXMLDo cument(ParserUtils.java:140)
at org.apache.jasper.compiler.JspConfig.processWebDot Xml(JspConfig.java:113)
at org.apache.jasper.compiler.JspConfig.findJspProper ty(JspConfig.java:219)
at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:209)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:458)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:444)
at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:603)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:300)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:293)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:205)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:177)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:203)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:637)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:488)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:536)
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:21.