I just installed tomcat 5.0.28 and java 1.4.2_06 on redhat and no JSP compiles, 
with the following error:  Even jsp with one line in them

Any ideas?

org.apache.jasper.JasperException: Unable to compile class for JSP
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause 
java.lang.NullPointerException
        
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:143)
        
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:97)
        org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
        org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
        org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Reply via email to