|
Hi,
If you are using Tomcat 3.3.X. You can put your *.jar
file to "%tomcat_home%\lib\apps" or "%tomcat_home%\lib\common", then use import
in JSP.
Try this...
Weitsong Lin
----- Original Message -----
Sent: Tuesday, January 08, 2002 8:28
PM
Subject: Re: Help:NoClassDefFoundError:
javax/mail/MessagingException with Jserv (JSP)
Yes. And it immediatly reports that the classes can't be found.
Obviously a classpath problem. But if the wrapper classpath of Jserv isn't
doing the trick, which one is it then ?
Sergio wrote:
004701c19839$45757d10$2402a8c0@Ebus6" type="cite">Hi,
Have you made the javax.mail.MessagingException import in the JSP page with the correct path?
----- Original Message ----- From: "Jan Goyvaerts" mailto:<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 12:04 PM Subject: Help:NoClassDefFoundError: javax/mail/MessagingException with Jserv (JSP)
Hi !
I'm using a .jsp with a bean inside it. This bean makes an instance of javax.mail.MessageingException. Each time it tries to make the instance, the stacktrace underneath is generated. But I'm pretty sure I added the correct .jar (mail.jar) file in the wrapper.classpath of Jserv. I can't make the instance. Even is I'm decompressing the .jar file in a directory that is also in the classpath.
Can somebody help me with this ?
Thanks !
Jan.
java.lang.NoClassDefFoundError: javax/mail/MessagingException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName0(Compiled Code) at java.lang.Class.forName(Compiled Code) at oracle.jsp.app.JspClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClassInternal(Compiled Code) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance0(Compiled Code)
at java.lang.Class.newInstance(Compiled Code) at oracle.jsp.app.JspAppLoader.instantiatePage(Compiled Code) at oracle.jsp.app.JspAppLoader.reloadPage(Compiled Code) at oracle.jsp.app.JspAppLoader.loadPage(Compiled Code) at oracle.jsp.app.JspAppLoader.getPage(Compiled Code) at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code) at oracle.jsp.JspServlet.doDispatch(Compiled Code) at oracle.jsp.JspServlet.internalService(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.processJsp(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.doGet(Compiled Code) at oracle.ifs.protocols.dav.DavServlet.processRequest(Compiled Code) at oracle.ifs.protocols.dav.DavServlet.service(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jserv.JServConnection.processRequest(Compiled Code) at org.apache.jserv.JServConnection
.run(Compiled Code) at java.lang.Thread.run(Compiled Code)
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
|