> I use NetBeans with Maven, and in that context I would declare the > mail dependency to be <scope>provided</scope>. I don't know how to do > that in a native NetBeans project, but what you'd need to do is to > tell NetBeans that javax.mail is required to compile but must not be > included in the output WAR.
I found this option; it's under "File", "Project Properties", "Libraries", and then you un-check the "Package" column for the JavaMail library. Thanks for the pointer! -- Tim Gustafson t...@tgustafson.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org