https://issues.apache.org/bugzilla/show_bug.cgi?id=44787

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


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

  [jasper2] java.lang.IllegalStateException: No Java compiler available
  [jasper2]     at
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:224)
  [jasper2]     at org.apache.jasper.JspC.processFile(JspC.java:979)
  [jasper2]     at org.apache.jasper.JspC.execute(JspC.java:1135)

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to