2 Replies Latest reply on Dec 17, 2003 2:52 PM by juha

    Why JSP can't be cimplied?

    liamliu Newbie

      When I am trying to access http://localhost:8080/web-console.
      The error is following:
      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred at line: -1 in the jsp file: null

      Generated servlet error:
      [javac] Compiling 1 source file

      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)

        • 1. Re: Why JSP can't be cimplied?
          Jon Barnett Master

          You haven't provided enough information about your configuration and environment. It is possible that tools.jar (the compiler libraries) are not in your run classpath - JAVA_HOME needs to be set to the root directory of your JDK. You can check the classpath from the starting output of your run.sh script.

          Secondly, insufficient permissions to write the generated Java and class files from the JSP might also cause a problem.

          However, you need to locate the portion of the error stacktrace that would reveal the relevant information.

          • 2. Re: Why JSP can't be cimplied?

            Also make sure you haven't installed JBoss into a directory that has spaces in it.