Follow Up: in case anyone had the same issue.  

It was my installation of tomcat.  I blew away old instance, downloaded 
binaries again and this time JSP's compiled fine.  My guess is that the 
original tar ball was either a result of an incomplete download or was just 
simply the wrong one.  Who knows.



-----Original Message-----
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 12:53 PM
To: Tomcat Users List
Subject: No jsp compiles


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)



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

Reply via email to