1. make sure use jdk1.5 or 1.6

2. uninstall your jre , only let jdk in your computer.


On Nov 15, 8:10 am, Martin <[email protected]> wrote:
> Hello - I'm trying to work through the Guestbook tutorial of Google
> App Engine tutorial.  (Using Eclipse), but getting stuck at the
> section where I develop jsps (and then develop a guestbook.jsp)
>
> I'm able to get the project working - I can manipulate the
> GuestbookServlet class file to display a welcome message.
>
> However, when I attempt to incorporate the guestbook.jsp, I still only
> see the old display message that I wrote in GuestbookServlet.
> (I've recompiled, restarted Eclipse, and even restarted computer).
>
> 1) Web xml looks like:
>     <welcome-file-list>
>          <welcome-file>guestbook.jsp</welcome-file>
>     </welcome-file-list>
>
> 2) guestbook.jsp is pasted directly from tutorial.
>
> 3) Going to "http://localhost:8080/guestbook"; yields the message I
> coded in the GuestbookServlet
>
> 4) Going directly to:http://localhost:8080/guestbook.jspyields an
> error:
> Error running javac.exe compiler
> RequestURI=/guestbook.jsp
> Caused by:
> Error running javac.exe compiler
>         at
> org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter 
> nalCompile
> (DefaultCompilerAdapter.java:473)
>         at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute
> (JavacExternal.java:47)
>         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
>         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
>         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
> 382)
>
> 5) I even trimmed out all jsp code from guestbook.jsp and i get same
> results - get servlet message from going to /guestbook and get above
> error from going directly to guestbook.jsp. (And yeap, I recompiled
> and restarted)
> .....
> Any thoguhts?
> Thank you very much for your help. I greatly appreciate it.
> Martin

--

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 [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-appengine-java?hl=.


Reply via email to