hi, I am new to java mail api.I am getting this exception while running the program java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport. i have setted the class path for activation.jar and mail.jar.here i am using the JBOSS 3.2.6 please help me out of this.
i have did the same program as Sevlet that time it is running corrctly with out throwing any exception at all.
You might have the mail and activation classes in 2 different jars in the application classpath. There is a chance that both j2ee.jar and (mail.jar & activation.jar). The versions are different - it was using the javax.mail classes from j2ee.jar. So please do a search in all your jars for the file MailcapCommandMap.class and identify the wrong version.
Hope this helps...
My pie came with a little toothpic holding up this tiny ad:
how do I do my own kindle-like thing - without amazon