hi,
im trying to send email using JavaMail thru servlets. i already placed the
necessary api in the lib directory
[adiaz@Ronin lib]$ pwd
/home/adiaz/Java/crs-web/lib
[adiaz@Ronin lib]$ jar tf mailapi.jar | grep mail/Add
javax/mail/Address.class
[adiaz@Ronin lib]$ ls
activation.jar imap.jar mailapi.jar mail.jar pop3.jar README smtp.jar
the web-application compiles with no problems but this is what i got when accessing
the servlet
Location: /crs/RemindUser
Internal Servlet Error:
java.lang.NoClassDefFoundError: javax/mail/Address
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
i noticed that the jar files were not copied to the deployment directory. where in
the ${TOMCAT_HOME}/lib directory should i manually place the JavaMail (and JAF) APIs?
or is this an ant-related question?
thanks!
--
"Programming, an artform that fights back."
=============================
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City
Tel# 638-3070 loc. 72
Fax# 638-3079
=============================
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>