Error 500: Interner Servlet Error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   B_T
Posted On:   Thursday, January 17, 2002 05:38 PM

Thanks to John Zukowski & Tom Paris, I manage to get my web server up without error. I have try to upload my JAVAMail program, but have error like Error: 500 Location: /edentalpro/sendmail.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:14: Package javax.mail not found in import. import javax.mail.*; ^ /usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:15: Package javax.mail.internet not found in import. import javax.mail.internet.*; ^ 2 errors    More>>

Thanks to John Zukowski & Tom Paris, I manage to get my web server up without error. I have try to upload my JAVAMail program, but have error like

Error: 500
Location: /edentalpro/sendmail.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:14: Package javax.mail not found in import.
import javax.mail.*;
^
/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:15: Package javax.mail.internet not found in import.
import javax.mail.internet.*;
^
2 errors

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
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(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java: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:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.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:479)

what is going on?
I have upload both mail.jar and activation.jar to my lib folder..

Please help...

   <<Less

Re: Error 500: Interner Servlet Error

Posted By:   John_Zukowski  
Posted On:   Thursday, January 17, 2002 11:31 PM

Read the exception:

Package javax.mail not found in import


Tomcat can't find the JAR files. Make sure they are available for its runtime.

About | Sitemap | Contact