Howdy, This question belongs on tomcat-user, not tomcat-dev. You can't use j2ee.jar with tomcat because of class conflicts for servlet/jsp APIs at least. Use mail.jar/activation.jar separately in your web-inf/lib directory. If you need more help/discussion, please do so on tomcat-user.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Mann, Jeremy [mailto:[EMAIL PROTECTED] >Sent: Monday, January 19, 2004 5:10 PM >To: [EMAIL PROTECTED] >Subject: Using J2EE with Tomcat 5.0 > >I am using the javax.mail package. In my IDE I use j2ee.jar to compile. >I see that Tomcat does not have j2ee.jar or some equivalent in its >classpath so I am getting a NoClassDefFoundError. I tried just adding >this jar file to my lib directory but for some reason I am still getting >the same error. >Any Ideas? >Thanks in advance >Jeremy This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
