0 Replies Latest reply on Nov 28, 2005 7:43 AM by pavan kumar

    org.apache.jasper.JasperException: Unable to compile class f

    pavan kumar Newbie

      hello,
      iam getting following exception while deploying jsp with simple java bean class on JBOSS.
      i created .ear file and placed in deploy dir of jboss.


      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: 1 in the jsp file: /SaveName.jsp
      Generated servlet error:
      UserData cannot be resolved or is not a type

      An error occurred at line: 1 in the jsp file: /SaveName.jsp
      Generated servlet error:
      UserData cannot be resolved or is not a type

      An error occurred at line: 1 in the jsp file: /SaveName.jsp
      Generated servlet error:
      UserData cannot be resolved or is not a type


      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
      org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      PLS help me why iam getting this error and whats solution for this problem...
      thanks in advance.