tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Gustafson <...@tgustafson.com>
Subject Re: Configuring E-Mail Session via JNDI
Date Fri, 07 Aug 2015 19:19:12 GMT
> 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
tjg@tgustafson.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message