On 8-Dec-05, at 11:05 AM, Peteris Krisjanis wrote:
:) Yeah, I know, I hate sometimes JB for not showing all classes.However, another problem accoured with JavaMail - I have such Java class.import com.webobjects.foundation.*; import com.webobjects.eocontrol.*; import com.webobjects.appserver.*; import com.webobjects.eoaccess.*; import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; import org.apache.log4j.*; public class Mobile { public Session session; public Properties properties; public void someMethod() { properties = new Properties(); session = Session.getInstance(properties); } }When I try to compile it, it give me a middle finger (cannot resolve symbol) on this line:session = Session.getInstance(properties);First I thought I have wrongly installed framework jars, but no - there is no error on that (t.i. on import javax.mail.*). I simply can't create new session for JavaMail.What could be done wrong?
Both JavaMail and WO have a Session object. Be explicit with which one you want. -- ;david -- David LeBer Codeferous Software 'co-defer-ous' adj. producing or containing code site: http://www.codeferous.com blog: http://david.codeferous.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
