Hi,

I'm unable to use JSPs in the embedded Jetty too. A simple test: with
JAVA_HOME pointing to the latest JDK, I've created an application
named "JspTest" using webAppCreator. Then I renamed the JspTest.html
file to JspTest.jsp and modified build.xml to launch that file. With
"ant hosted" I get an error:

Unable to compile class for JSP

Generated servlet error:
GRAVE: Env: Compile: javaFileName=/C:/DOCUME~1/.../Temp/
Jetty_0_0_0_0_8888_war____masbuh/jsp//org/apache/jsp\JspTest_jsp.java
... plus many other lines.

Any idea?

On 19 Mar, 15:28, magbyr <[email protected]> wrote:
> I'm having a problem with 1.6RC / Jetty and Spring 2.5. Same project
> worked well on 1.5.3, but not on 1.6RC.
>
> Fails onjspand default servlet from Jetty:
> javax.servlet.UnavailableException: Servlet class
> org.apache.jasper.servlet.JspServlet is not a javax.servlet.Servlet
> javax.servlet.UnavailableException: Servlet class
> org.mortbay.jetty.servlet.DefaultServlet is not a
> javax.servlet.Servlet
>
> Seems like some kind of classloader issue.
>
> Anybody running 1.6RC with Spring successfully?

--~--~---------~--~----~------------~-------~--~----~
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