Thank you for offering to look at the stack, but I've
discovered the error. I has an import="" statement in
one jsp. Apparently that's illegal (worked ok in
TC3.3).
But just for kicks here's the entire stack trace. What
I'm wondering is how I can identify the offending jsp.
Generated servlet error:
Syntax error on token "import", Identifier expected
after this token
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
--- Parsons Technical Services
<[EMAIL PROTECTED]> wrote:
> Post the stack trace. Also follow it all the way
> down. Sometimes there is a
> second segment named root cause.
>
> Doug
>
> ----- Original Message -----
> From: "Dola Woolfe" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> <[email protected]>
> Sent: Sunday, January 23, 2005 8:42 PM
> Subject: Re: Syntax error on toekn "import"
>
>
> > ...Thanks, but how do I know what file the problem
> > occurs in. It doesn't tell me what it fails to
> > compile. From the browser's point of view
> everything
> > works correctly.
> >
> > Also, I'm note quite sure about the colons and
> > semicolons. I think I use neither, I use a comma.
> >
> > Dola
> >
> >
> > --- Parsons Technical Services
> > <[EMAIL PROTECTED]> wrote:
> >
> >> DOH......
> >>
> >> PLEASE ignore that second line.
> >>
> >> And to clarify the first line is doing two
> imports.
> >> java.util.* and ddr.*
> >>
> >> Doug
> >>
> >> ----- Original Message -----
> >> From: "Parsons Technical Services"
> >> <[EMAIL PROTECTED]>
> >> To: "Tomcat Users List"
> >> <[email protected]>
> >> Sent: Sunday, January 23, 2005 6:41 PM
> >> Subject: Re: Syntax error on toekn "import"
> >>
> >>
> >> > Post your code section where you are doing the
> >> imports.
> >> > Missing semicolon or colon instead of semi.
> >> > Incorrect syntax could actually be on the line
> >> before the import statement
> >> > as well.
> >> >
> >> > <%@ page import="java.util.*,ddr.*" %>
> >> > <%@ page import="java.sql.*" %>
> >> >
> >> > Doug
> >> >
> >> > ----- Original Message -----
> >> > From: "Dola Woolfe" <[EMAIL PROTECTED]>
> >> > To: "Tom Cat" <[email protected]>
> >> > Sent: Sunday, January 23, 2005 5:44 PM
> >> > Subject: Syntax error on toekn "import"
> >> >
> >> >
> >> >> Hi,
> >> >>
> >> >> Just switched to a certain extent to 5.5
> (hero).
> >> >>
> >> >> I'm getting
> >> >> Sintax error on toekn "import", Identifier
> >> exprected
> >> >> after this token.
> >> >>
> >> >> but the stack trace does not refer to any of
> my
> >> >> classes or jsp pages. Where can I start
> looking
> >> for
> >> >> this error?
> >> >>
> >> >> Dola
> >> >>
> >> >>
> >>
> __________________________________________________
> >> >> Do You Yahoo!?
> >> >> Tired of spam? Yahoo! Mail has the best spam
> >> protection around
> >> >> http://mail.yahoo.com
> >> >>
> >> >>
> >>
> >
>
---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >>
> >
>
---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> > For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]