Thanks guys, moving AppEngine (and GWT) to the top in "Order and Export"
really solved this.

Thanks a lot :)

On Sun, Dec 5, 2010 at 4:40 PM, Mike Friesen <mfrie...@gmail.com> wrote:

> I had the same problem and fixed it by:
>
> 1) Selecting project Root -> Goto File->Properties
> 2) Select Java Build Path
> 3) Select Order and Export
> 4) Move App Engine SDK 1.4.0 to the #1 position and GWT SDK 2.1.0 to the #2
> position
>
> On Sun, Dec 5, 2010 at 7:28 AM, Sudhir <sudhi...@gmail.com> wrote:
>
>> Same issue here... does anyone have a fix that doesn't involve re-
>> installing eclipse and recreating the entire project step by step?
>>
>> Sudhir
>>
>> On Dec 4, 4:37 pm, GoSharp Lite <gosharpl...@gmail.com> wrote:
>> > I solve my jsp compilation issue by using below steps.
>> >
>> > 1) Download and install "eclipse-java-helios-SR1-win32.zip".
>> > 2) Install plugins from "http://dl.google.com/eclipse/plugin/3.6";.
>> > 3) Download and install "java_ee_sdk-6u1-jdk-windows.exe".
>> > 4) Create a new and empty app using same project name and package as
>> > my old app.
>> > 5) Carefully copy all files in src and war from my old app into the
>> > new app.
>> > 6) Import all external libs from my old app into the new app.
>> > 7) Set Properties-Google-App Engine-ORM to server files which need
>> > enhancement.
>> > 8) Debug and no more "Unable to compile class for JSP".
>> >
>> > On Dec 4, 11:47 am, Jerome <jerome.mou...@gmail.com> wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Sorry, no solution but a very similar issue with Eclipse Helios SR 1:
>> >
>> > > org.apache.jasper.JasperException: Unable to compile class for JSP:
>> >
>> > > An error occurred at line: 9 in the generated java file
>> > > org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type
>> >
>> > > An error occurred at line: 10 in the generated java file
>> > > org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a
>> > > type
>> >
>> > > An error occurred at line: 12 in the generated java file
>> > > JspFactory cannot be resolved to a type
>> >
>> > > An error occurred at line: 12 in the generated java file
>> > > JspFactory cannot be resolved
>> >
>> > > An error occurred at line: 23 in the generated java file
>> > > javax.el.ExpressionFactory cannot be resolved to a type
>> >
>> > > An error occurred at line: 24 in the generated java file
>> > > org.apache.AnnotationProcessor cannot be resolved to a type
>> >
>> > > An error occurred at line: 31 in the generated java file
>> > > _el_expressionfactory cannot be resolved
>> >
>> > > An error occurred at line: 31 in the generated java file
>> > > _jspxFactory cannot be resolved
>> >
>> > > An error occurred at line: 31 in the generated java file
>> > > The method getServletConfig() is undefined for the type plans_jsp
>> >
>> > > An error occurred at line: 32 in the generated java file
>> > > _jsp_annotationprocessor cannot be resolved
>> >
>> > > An error occurred at line: 32 in the generated java file
>> > > org.apache.AnnotationProcessor cannot be resolved to a type
>> >
>> > > An error occurred at line: 32 in the generated java file
>> > > The method getServletConfig() is undefined for the type plans_jsp
>> >
>> > > An error occurred at line: 32 in the generated java file
>> > > org.apache.AnnotationProcessor cannot be resolved to a type
>> >
>> > > An error occurred at line: 38 in the generated java file
>> > > HttpServletRequest cannot be resolved to a type
>> >
>> > > An error occurred at line: 38 in the generated java file
>> > > HttpServletResponse cannot be resolved to a type
>> >
>> > > An error occurred at line: 39 in the generated java file
>> > > ServletException cannot be resolved to a type
>> >
>> > > An error occurred at line: 41 in the generated java file
>> > > PageContext cannot be resolved to a type
>> >
>> > > An error occurred at line: 42 in the generated java file
>> > > HttpSession cannot be resolved to a type
>> >
>> > > An error occurred at line: 43 in the generated java file
>> > > ServletContext cannot be resolved to a type
>> >
>> > > An error occurred at line: 44 in the generated java file
>> > > ServletConfig cannot be resolved to a type
>> >
>> > > An error occurred at line: 45 in the generated java file
>> > > JspWriter cannot be resolved to a type
>> >
>> > > An error occurred at line: 47 in the generated java file
>> > > JspWriter cannot be resolved to a type
>> >
>> > > An error occurred at line: 48 in the generated java file
>> > > PageContext cannot be resolved to a type
>> >
>> > > An error occurred at line: 53 in the generated java file
>> > > _jspxFactory cannot be resolved
>> >
>> > > An error occurred at line: 1,315 in the generated java file
>> > > SkipPageException cannot be resolved to a type
>> >
>> > > An error occurred at line: 1,322 in the generated java file
>> > > _jspxFactory cannot be resolved
>> >
>> > > Stacktrace:
>> > >         at
>> > >
>> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl
>> er.java:
>> > > 92)
>> > >         at
>> > >
>> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
>> > > 330)
>> > >         at
>> > > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:
>> > > 439)
>> > >         at
>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
>> > >         at
>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
>> > >         at
>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
>> > >         at
>> > >
>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
>> > > 592)
>> > >         at
>> > >
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>> > > 317)
>> > >         at
>> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>> > > 313)
>> > >         at
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>> > >         at
>> com.google.appengine.tools.development.PrivilegedJspServlet.access
>> > > $101(PrivilegedJspServlet.java:23)
>> > >         at com.google.appengine.tools.development.PrivilegedJspServlet
>> > > $2.run(PrivilegedJspServlet.java:59)
>> > >         at java.security.AccessController.doPrivileged(Native Method)
>> > >         at
>> > >
>> com.google.appengine.tools.development.PrivilegedJspServlet.service(Privile
>> gedJspServlet.java:
>> > > 57)
>> > >         at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> > >         at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
>> > > 511)
>> > >         at org.mortbay.jetty.servlet.ServletHandler
>> > > $CachedChain.doFilter(ServletHandler.java:1166)
>> > >         at
>> > >
>> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi
>> lter.java:
>> > > 58)
>> > >         at org.mortbay.jetty.servlet.ServletHandler
>> > > $CachedChain.doFilter(ServletHandler.java:1157)
>> > >         at
>> > >
>> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
>> actionCleanupFilter.java:
>> > > 43)
>> > >         at org.mortbay.jetty.servlet.ServletHandler
>> > > $CachedChain.doFilter(ServletHandler.java:1157)
>> > >         at
>> > >
>> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile
>> Filter.java:
>> > > 122)
>> > >         at org.mortbay.jetty.servlet.ServletHandler
>> > > $CachedChain.doFilter(ServletHandler.java:1157)
>> > >         at
>> > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
>> > > 388)
>> > >         at
>> > >
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
>> > > 216)
>> > >         at
>> > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
>> > > 182)
>> > >         at
>> > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
>> > > 765)
>> > >         at
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
>> > > 418)
>> > >         at
>> > >
>> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn
>> gineWebAppContext.java:
>> > > 70)
>> > >         at
>> > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
>> > > 152)
>> > >         at
>> com.google.appengine.tools.development.JettyContainerService
>> > > $ApiProxyHandler.handle(JettyContainerService.java:349)
>> > >         at
>> > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
>> > > 152)
>> > >         at org.mortbay.jetty.Server.handle(Server.java:326)
>> > >         at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
>> > > 542)
>> > >         at org.mortbay.jetty.HttpConnection
>> > > $RequestHandler.headerComplete(HttpConnection.java:923)
>> > >         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
>> > >         at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>> > >         at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>> > >         at
>> > >
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
>> > > 409)
>> > >         at org.mortbay.thread.QueuedThreadPool
>> > > $PoolThread.run(QueuedThreadPool.java:582)
>> >
>> > > On Dec 3, 6:30 pm, GoSharp Lite <gosharpl...@gmail.com> wrote:
>> >
>> > > > I have just upgraded Eclipse Galileo with AppEngine version 1.4.0.
>> > > > There seems to be a mismatch of Tomcat versions between pre-
>> > > > compilation and execution.
>> >
>> > > > Does anyone have a solution with jsp compilation issue?
>> >
>> > > > Local server shows below logs with SDK 1.4.0 -
>> > > > HTTP ERROR 500
>> >
>> > > > Problem accessing /. Reason:
>> > > > Unable to compile class for JSP:
>> >
>> > > > An error occurred at line: -1 in the generated java file
>> > > >     [javac]
>> D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0_8888_war____masbuh
>> > > > \jsp\org\apache\jsp\GoChildWeb_jsp.java:8:
>> > > > org.apache.jsp.GoChildWeb_jsp is not abstract and does not override
>> > > > abstract method getDependants() in
>> > > > org.apache.jasper.runtime.JspSourceDependent
>> > > >     [javac] public final class GoChildWeb_jsp extends
>> > > > org.apache.jasper.runtime.HttpJspBase
>> > > >     [javac]              ^
>> >
>> > > > An error occurred at line: -1 in the generated java file
>> > > >     [javac]
>> D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0_8888_war____masbuh
>> > > > \jsp\org\apache\jsp\GoChildWeb_jsp.java:18: getDependants() in
>> > > > org.apache.jsp.GoChildWeb_jsp cannot implement getDependants() in
>> > > > org.apache.jasper.runtime.JspSourceDependent; attempting to use
>> > > > incompatible return type
>> > > >     [javac] found   : java.lang.Object
>> > > >     [javac] required: java.util.List
>> > > >     [javac]   public Object getDependants() {
>> > > >     [javac]                 ^
>> >
>> > > > An error occurred at line: -1 in the generated java file
>> > > >     [javac]
>> D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0_8888_war____masbuh
>> > > > \jsp\org\apache\jsp\GoChildWeb_jsp.java:23: cannot find symbol
>> > > >     [javac] symbol  : method
>> > > > getJspApplicationContext(javax.servlet.ServletContext)
>> > > >     [javac] location: class javax.servlet.jsp.JspFactory
>> > > >     [javac]     _el_expressionfactory =
>> > > >
>> _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext(
>> )).getExpressionFactory();
>> > > >     [javac]                                         ^
>> > > >     [javac] 3 errors
>> >
>> > ...
>> >
>> > read more »
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-j...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to