This discussion is archived
1 Reply Latest reply: Oct 3, 2008 11:06 PM by 800432 RSS

i am getting an error while requesting a new jsp

843844 Newbie
Currently Being Moderated
HTTP ERROR: 500

No Java compiler available

RequestURI=/webchat/index1.jsp
Caused by:

java.lang.IllegalStateException: No Java compiler available
     at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:224)
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:559)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
     at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
     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:726)
     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
     at org.mortbay.jetty.Server.handle(Server.java:324)
     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:514)
     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)

Powered by Jetty://


can anyone please help me in fixing this problem............
i have set the class path for jdk
  • 1. Re: i am getting an error while requesting a new jsp
    800432 Newbie
    Currently Being Moderated
    varunkumar wrote:
    HTTP ERROR: 500

    No Java compiler available
    Server unable to fine Java on your system & hence unable to compile ur jsp. I think your class path not properly set.

    There are many threads on Servlet Forum which already discussed class path stuff . refer them
    If still problem persist revert back with your web application setup details

    Sachin Kokcha