Could it be it is only a missing import declaration in the *.java result of
your *.JSP?

On Mon, Dec 6, 2010 at 6:46 PM, mscwd01 <mscw...@gmail.com> wrote:

> Ah yes found it in the App Engine SDK, repackaged-appengine-
> jasper-6.0.29.jar is there. The question now, is why isn't it working?
>
> On Dec 6, 5:33 pm, Jaroslav Záruba <jaroslav.zar...@gmail.com> wrote:
> > This JAR is where Eclipse reads the HttpJspBase type from. It is included
> in
> > the AppEngine SDK Library.
> >
> > Project -> Properties -> Java Build Path -> Libraries
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Dec 6, 2010 at 6:28 PM, mscwd01 <mscw...@gmail.com> wrote:
> > > Where should it be? I cannot see it listed in my libraries.
> >
> > > On Dec 6, 5:03 pm, Jaroslav Záruba <jaroslav.zar...@gmail.com> wrote:
> > > > seems like repackaged-appengine-jasper-6.0.29.jar is not where it is
> > > > supposed to be...?
> >
> > > > On Mon, Dec 6, 2010 at 5:58 PM, mscwd01 <mscw...@gmail.com> wrote:
> > > > > No hints in the problems window that are of any help. The error I
> get
> > > > > is:
> >
> > > > > WARNING: /features
> > > > > org.apache.jasper.JasperException: Unable to compile class for JSP:
> > > > > An error occurred at line: 11 in the generated java file
> > > > > org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type
> >
> > > > > And the first part of the stacktrace is:
> >
> > > > > 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)
> >
> > > > > Thanks
> >
> > > > > On Dec 6, 4:52 pm, Jaroslav Záruba <jaroslav.zar...@gmail.com>
> wrote:
> > > > > > What does the error message say?
> > > > > > No hints in the Problems window?
> >
> > > > > > On Mon, Dec 6, 2010 at 5:42 PM, mscwd01 <mscw...@gmail.com>
> wrote:
> > > > > > > This still doesn't solve the issue for me, mapping a servlet
> url
> > > > > > > pattern to a jsp file always fails...
> >
> > > > > > > On Dec 6, 1:33 pm, Jaroslav Záruba <jaroslav.zar...@gmail.com>
> > > wrote:
> > > > > > > > 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
> >
> > ...
> >
> > 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.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to