tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
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: tomcat-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org
                CC: arminha@student.ethz.ch


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message