Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> cannot resolve symbol 7 errors location: class javax.mail.internet.Internet

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: cannot resolve symbol 7 errors location: class javax.mail.internet.Internet
 Ankur  Posted: Jun 15, 2007 12:45:52 AM

 Total Post: 2
 Joined: May, 2006






 Dear Friends,

I have created a JAVA SOURCE to send mail in oracle. But when i compile the source code, it prompts me with a message:

Warning: Java created with compilation errors.

When I use Show Errors, it show:

SQL> show errors java source "SendMail"
Errors for JAVA SOURCE SendMail:

LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 SendMail:44: cannot resolve symbol
0/0 7 errors
0/0 location: class javax.mail.internet.InternetAddress
0/0 InternetAddress[] TheAddresses = new
InternetAddress.parse(Recipient);

0/0 ^
0/0 SendMail:51: cannot resolve symbol
0/0 symbol : class parse
0/0 location: class javax.mail.internet.InternetAddress
0/0 InternetAddress[] TheAddresses = new

LINE/COL ERROR
-------- -----------------------------------------------------------------
InternetAddress.parse(CcRecipient);

0/0 ^
0/0 SendMail:58: cannot resolve symbol
0/0 symbol : class parse
0/0 location: class javax.mail.internet.InternetAddress
0/0 InternetAddress[] TheAddresses = new
InternetAddress.parse(BccRecipient);

0/0 ^
0/0 SendMail:70: cannot resolve symbol

LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 symbol : method MimeBodyPart ()
0/0 location: class SendMail
0/0 MimeBodyPart mbp = MimeBodyPart();
0/0 ^
0/0 SendMail:83: cannot resolve symbol
0/0 symbol : method subString (int,int)
0/0 location: class java.lang.String
0/0 FileDataSource fds = new
FileDataSource(Attachments.subString(StartIndex, PosIndex));

0/0 ^

LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 SendMail:93: cannot resolve symbol
0/0 symbol : method MimeBodyPart ()
0/0 location: class SendMail
0/0 MimeBodyPart mbp = MimeBodyPart();
0/0 ^
0/0 SendMail:94: cannot resolve symbol
0/0 symbol : method subString (int)
0/0 location: class java.lang.String
0/0 FileDataSource fds = new
FileDataSource(Attachments.subString(StartIndex));


LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 ^
0/0 symbol : class parse
SQL>

Please help me in solving this problem

Thanks in advance
Ankur

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi335
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software