Add the -verbose:class option to JAVA_OPTS within run.bat (or run.comf on Linux). This option prints out each class loaded and the JAR file it came from. This should help you located the addition JAR file containing javax.mail.Session.
Joined: Apr 01, 2003
Thanks a lot for help.
I could find that javax.mail.Session class is getting loaded twice.
It gets loaded by pom file. Could you please tell me how i can find from which pom.xml it is getting loaded.