Are you hitting the JSP page in your browser? The error output should be
displayed there.

On Tue, Jul 7, 2009 at 3:58 PM, puddlesofjoy <[email protected]> wrote:

>
> With latest version of GWT and Google Eclipse Plugin.
> I have created a project with GWT only (no App Engine)
>
> If I have any references to an external class in my jsp page I am
> getting errors (despite having a 'page import'). The fact that it
> isn't compiling isn't really what worries me.
>
> What I really need is to be able to see what the actual errors are so
> I can diagnose the problem. Even with my log level set to 'All' the
> most useful error information I can see in the Hosted Mode console is
> shown below. Every exception log item just refers me to the 'compiler
> error output'.
> Where can I find the jsp compiler error output it is telling me to
> check?
>
> [SPAM] EXCEPTION
> org.apache.jasper.JasperException: Unable to compile class for JSP
>        at org.apache.jasper.compiler.DefaultErrorHandler.javacError
> (DefaultErrorHandler.java:97)
>        at org.apache.jasper.compiler.ErrorDispatcher.javacError
> (ErrorDispatcher.java:346)
>        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
> 414)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>        at org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext.java:511)
>        at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:295)
>        at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:292)
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>        at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:362)
>        at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:729)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
>        at org.mortbay.jetty.handler.RequestLogHandler.handle
> (RequestLogHandler.java:49)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:320)
>        at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 505)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
> (HttpConnection.java:829)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>        at org.mortbay.io.nio.SelectChannelEndPoint.run
> (SelectChannelEndPoint.java:395)
>        at org.mortbay.thread.QueuedThreadPool$PoolThread.run
> (QueuedThreadPool.java:488)
> Caused by: org.apache.tools.ant.BuildException: Compile failed; see
> the compiler error output for details.
>        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
>        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
>        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
> 382)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>        at org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext.java:511)
>        at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:295)
>        at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:292)
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>        at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:362)
>        at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:729)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
>        at org.mortbay.jetty.handler.RequestLogHandler.handle
> (RequestLogHandler.java:49)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:320)
>        at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 505)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
> (HttpConnection.java:829)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>        at org.mortbay.io.nio.SelectChannelEndPoint.run
> (SelectChannelEndPoint.java:395)
>        at org.mortbay.thread.QueuedThreadPool$PoolThread.run
> (QueuedThreadPool.java:488)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to