Servlet Error]-[Class javax/activation/DataHandler violates loader constraints:
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pradeep_kumar
Posted On:   Tuesday, April 25, 2006 10:20 AM

Following error message I get for the code

bp.setDataHandler(new DataHandler(new FileDataSource(filename)));

Error message is as follows :

Servlet Error]-[Class javax/activation/DataHandler violates loader constraints:
definition mismatch between parent and child loaders]:
java.lang.LinkageError: Class javax/activation/DataHandler violates loader constraints:
definition mismatch between parent and child loaders

If anyboyd knows the reason and solution.

This is for sending the html content mail.

Thanks ,
Pradeep

Re: Servlet Error]-[Class javax/activation/DataHandler violates loader constraints:

Posted By:   Vinnakota_Gangadhar  
Posted On:   Wednesday, June 7, 2006 03:40 PM

Put your activation.jar in the runtime class path of your server rather than in the EAR ( or Utility Project).
About | Sitemap | Contact