2 Replies Latest reply on Oct 6, 2010 9:49 AM by Dinesh venkatesan

    JBoss - Unable to compile class for JSP

    Dinesh venkatesan Newbie

      Hi,

          I am using Jboss 5.1.0.GA .. i've developed login page i try to deploy in jboss but its showing some error ..

      i have attached my jsp file also..please any one help me..

       

       

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: Unable to compile class for JSP: 

      An error occurred at line: 14 in the generated java file
      Syntax error on token "import", Identifier expected after this token

      Stacktrace:
           org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
           org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
           org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
           org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
           org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
           org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
           org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.

       

       

       

      Please any one help me...

       



      JBoss Web/2.1.3.GA