tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44787] New: provide more error context on "java.lang. IllegalStateException: No Java compiler available"
Date Wed, 09 Apr 2008 14:55:21 GMT

           Summary: provide more error context on
                    "java.lang.IllegalStateException: No Java compiler
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper

when manually attempting to pre-compile jsp pages, I get on debian etch 

  [jasper2] java.lang.IllegalStateException: No Java compiler available
  [jasper2]     at
  [jasper2]     at org.apache.jasper.JspC.processFile(
  [jasper2]     at org.apache.jasper.JspC.execute(

There appear to be 2 method variants to do this:

a) Compiler createCompiler(String className) doesn't bother to say which 
"className" it was looking for in case of a failure
b) nor does it volunteer to cite the classpath it was looking for the
org.apache.jasper.compiler.JDTCompiler or
org.apache.jasper.compiler.AntCompiler (or the one specified in the "options"
in the future)

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message