954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Having problem for importing packages.

Hi All,

I am doing a project which is struts based. I have included following files in build path of eclipse.
servlet-api.jar
jasper-runtime.jar
jsp-api.jar
struts.jar
antlr.jar
commons-beanutils.jar
commons-digester.jar
commons-fileupload.jar
commons-logging.jar
commons-validator.jar

still I am getting errors:
the import javax.activation can not be resolved at line import javax.activation.*;
the import javax.mail can not be resolved at line import javax.mail.*;

I cannot proceed further without solving these errors.

Please help!!.

Kedar.

kedarkhedkar
Newbie Poster
5 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

You will need to add jars for activation and mail. Try mail.jar & activation.jar

sillyboy
Practically a Master Poster
686 posts since Mar 2007
Reputation Points: 85
Solved Threads: 64
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You