Quantcast

Error: The JSP specification requires that an attribute name is preceded by whitespace

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error: The JSP specification requires that an attribute name is preceded by whitespace

Marcell Manfrin Barbacena
Hi,

I am getting this error message the app the I recently upgraded to tomcat 7.
It may be the bug 49297...
How to proceed to correct it? Log is below.

2011-03-30 12:42:10,431 ["http-bio-8080"-exec-17] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sadAdmAgenciaAdmin].[jsp]
- Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /arquivoForm.jsp(46,85) The JSP
specification requires that an attribute name is preceded by whitespace
 at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
 at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
 at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
 at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:164)
 at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:153)
 at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1236)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
 at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:239)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:197)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
 at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:927)
 at
org.apache.jsp.noticiaPageAdd_jsp._jspService(noticiaPageAdd_jsp.java:129)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
 at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
 at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
 at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
 at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
br.gov.tse.noticia.web.FilterUserControl.doFilter(FilterUserControl.java:36)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
br.gov.tse.noticia.web.FilterHibernateControlSession.doFilter(FilterHibernateControlSession.java:22)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
 at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)

===
"If you have no character to lose,
people will have no faith in you" M. Gandhi
--
Marcell Manfrin Barbacena
[hidden email]
[hidden email]
Skype: callto://marcell84bruk
+55 (83) 3512-1427 (Work)
+55 (83) 8808-8555 (Mobile)
+55 (83) 3224-5945 (Home)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error: The JSP specification requires that an attribute name is preceded by whitespace

markt
On 30/03/2011 17:30, Marcell Manfrin Barbacena wrote:

> Hi,
>
> I am getting this error message the app the I recently upgraded to tomcat 7.
> It may be the bug 49297...
> How to proceed to correct it? Log is below.
>
> 2011-03-30 12:42:10,431 ["http-bio-8080"-exec-17] ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sadAdmAgenciaAdmin].[jsp]
> - Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: /arquivoForm.jsp(46,85) The JSP
> specification requires that an attribute name is preceded by whitespace

What more information do you need? Tomcat has provided:
- the file name
- the exact point in the file where the error occurred
- a description of the error

I'm struggling to see what anyone on this list can do to add to that
short of editing the file to insert the whitespace the JSP specification
requires before the attribute name for you.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...