This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to send mail from my java application using javaee.jar but i was not able to send any mail.I am getting the following exception.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/BAS
i have tried the same application by using mail.jar and activation.jar it is working fine.I would like to use javaee.jar.
Can you please do the needful.
Thanks for reply,
I am using myeclipse 6, where i have added java EE 5 libraries witch i required.If i add the mail.jar externally to the application, it calling the javaee.jar from java EE 5 libraries.It's not using the mail.jar.If i remove java EE 5 libraries then it is working, But i require java EE 5 libraries. How can i send mail using javaee.jar of java EE 5 library?.