tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Cassidy" <david.cass...@db.com>
Subject Re: Error: unable to compile class for jsp
Date Wed, 04 Jun 2003 12:40:15 GMT

(this is more of a tomcat users problem as it's not to do with tomcat itself, but rather your
application)
But.

It looks like your jsp file is trying to use a class which isn't availiable. Possibly the
class file is corrupt or
compiled with a different JDK

I'm just guessing based on the null pointer exception below.

You might want to check that the jar that contains the class is OK.

All the best

David



                                                                                         
                                                                             
                      phani                                                              
                                                                             
                      <phani@virnt.viri        To:       "'tomcat-dev@jakarta.apache.org'"
<tomcat-dev@jakarta.apache.org>                                             
                      nchi.com>                cc:                                    
                                                                                
                                               Subject:  Error: unable to compile class for
jsp                                                                        
                      04/06/2003 11:49                                                   
                                                                             
                      Please respond to                                                  
                                                                             
                      "Tomcat                                                            
                                                                             
                      Developers List"                                                   
                                                                             
                                                                                         
                                                                             
                                                                                         
                                                                             





   Hi,

         I have the following error when iam running my application and i
couldn't figure out what exactly my problem is. I have searched
the forums but none of the solution couldn't help to sort my problem.
previously my application use to run properly but suddenly it use to give
problem. iam using JBoss-2.4.3_Tomcat-3.2.3 and iam running the application
on unix operating system. Here is the problem

Error: 500
Location: /vinet/jsp/index.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP
             at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:630)
             at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
             at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
             at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
             at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
             at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
             at org.apache.tomcat.core.Handler.service(Handler.java:287)
             at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
             at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
             at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
             at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
             at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NullPointerException
             at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:471)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
             at
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:136)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
             at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:617)
             at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
             at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
             at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
             at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
             at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
             at org.apache.tomcat.core.Handler.service(Handler.java:287)
             at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
             at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
             at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
             at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
             at java.lang.Thread.run(Thread.java:484)



    I have to solve it urgently.

regards,
phani.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org






--

This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and
destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message