I'm trying to use the various components of javax.mail in a GWT app,
and I'm stumped as to how to get these imports to resolve. I don't
have any errors showing up in the Eclipse editor (I used to, but don't
any more for some reason), but the errors show up when I run the app
as a web application on my local machine, and also when I run it from
appspot.
I am trying to add it to my classpath (project properties ->
libraries) but I don't know where to find it in a jar file. How does
one know where to look? Is this even necessary?
[DEBUG] [pcrequest] - Validating newly compiled units
[ERROR] [pcrequest] - Errors in 'file:/C:/java_projects/PCRequest/src/
com/tempusnova/kohls/client/EmailRequest.java'
[ERROR] [pcrequest] - Line 8: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 9: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 10: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 11: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 12: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 13: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 14: The import javax.mail cannot be
resolved
[ERROR] [pcrequest] - Line 24: Session cannot be resolved to a
type
[ERROR] [pcrequest] - Line 24: Session cannot be resolved
[ERROR] [pcrequest] - Line 30: Message cannot be resolved to a
type
[ERROR] [pcrequest] - Line 30: MimeMessage cannot be resolved
to a
type
[ERROR] [pcrequest] - Line 31: InternetAddress cannot be
resolved to
a type
[ERROR] [pcrequest] - Line 32: Message cannot be resolved
[ERROR] [pcrequest] - Line 32: InternetAddress cannot be
resolved to
a type
[ERROR] [pcrequest] - Line 35: Transport cannot be resolved
[ERROR] [pcrequest] - Line 37: AddressException cannot be
resolved
to a type
[ERROR] [pcrequest] - Line 39: MessagingException cannot be
resolved
to a type
[INFO] [pcrequest] - Module pcrequest has been loaded
I'm using a java email class similar to the following:
http://code.google.com/appengine/docs/java/mail/usingjavamail.html
Any ideas would be appreciated!
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.