What's the error ?please could someone give a hand ?

I have done a simple code to send an email from the command line and i'm having trouble, i've done the same using servlet and it was successful, so now when i run a class to send an email i get this message, what's wrong ? i have set the debug.The lines of the EnviaEmail.java:36 is
35     session.setDebug(true);
36     Message msg = new MimeMessage(session);and the lines of Teste.main(Teste.java:27) is
27   exe.send(smtpHost,smtpPort, smtpUser, smtpPass, end, para, assunto, conteudo, null); DEBUG: setDebug: JavaMail version 1.3.2
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream
at send_email.EnviaEmail.send(EnviaEmail.java:36)
at send_email.Teste.main(Teste.java:27)
Java Result: 1
BUILD SUCCESSFUL (total time: 20 seconds)
thanks!!

You've got some problem with your CLASSPATH.
Most likely you have two versions of mail.jar in your
CLASSPATH.

Similar Messages

  • Please could someone give me advice on the below issue

    Hello i am trying to update my apps on my mini ipad and when i hit the option update i get asked for a password to a e mail address which is not mine
    i have tried several things to get rid of this e mail address which is 100% not mine and i cannot update my apps please any advice anyone

    Did you purchase this iPad as a used device?  If so, are you willing to clear out everything from the previous owner?
    If so, do Settings > General > Reset > Erase all content and settings
    Then it will be as if it were a brand new device.

  • What Speed could i get & what are the errors

    Hi Everyone.
       I have just joined B.T & yesterday was my last day of the 10 day period.
       Bin looking at my speed it hasnt gone up alot but i keep getting all these errors on the hub info so i would like to ask what are the errors please & does the speed look about right for me thanks Nick..
     Short time for connection as B.T reset the Hub its a v3.0a
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    1 days, 06:08:58
    Downstream:
    4.931 Mbps
    Upstream:
    1011 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.3 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    5.5 dB / 5.8 dB
    Line attenuation (Down/Up):
    46.4 dB / 27.7 dB
    Output power (Down/Up):
    18.5 dBm / 12.6 dBm
    FEC Events (Down/Up):
    126408871 / 3607
    CRC Events (Down/Up):
    102820 / 739
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    91458 / 730
    Error Seconds (Local/Remote):
    32083 / 501

    Just enter your down attenuation here- http://www.kitz.co.uk/adsl/max_speed_calc.php  there are things you can do to reduce errors like connecting to the master socket see if there is a difference, checking your wiring and housing of the hub etc. A explanation of errors here-http://www.kitz.co.uk/adsl/linestats_errors.htm
    Mortgage Advisor 2000-2008
    Green Energy Advisor 2008-2010
    Charity Health Care Provider Advisor 2010-
    I'm alright Jack....

  • Quickly!Quickly!Quickly!What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code mean? Why is there an error?And how to solve it ?Please give your answer. Thanks!                                               
    ——1110340026
    Attachments:
    QQ图片20140403140655.jpg ‏108 KB

    Sannieboyyyy wrote:
    Could be me, but your VI is not working properly on the english version of LV. Can I suggest you to try programming in English in the future?
    Yes, it's you. The VI is working just fine, except for some cosmetic issues with the labeling. I don't think is is a valid suggestion to force somebody to program in a specific language, especially since LabVIEW supports all these languages.
    Here are the problems with the VI:
    If you don't want an amplitude of zero, you need to set the amplitude control to a nonzero value before running. Simple as that!. (You could also set the input range for the amplitude control to exclude zero or use a case structure to skip certain code if the amplitude is zero).
    You could also wire the error output to an indicator so it simply displays the errors, but keeps running.
    Your while loop is currently useless. You can delete it and the program function will not change. Use a stop button at the loop condition.
    Your while loop needs some timing so it runs at a reasonable rate. Either add a small wait or configure the signal generation to "simulate acquisition timing" instead of "run as fast as possible".
    LabVIEW Champion . Do more with less code and in less time .

  • What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code  mean? And how to solve it ?Please give your answer. Thanks
    Attachments:
    QQ截图20140403134626.png ‏59 KB

    duplicate post
    LabVIEW Champion . Do more with less code and in less time .

  • HT201320 i wanted to email my messages history in Viber. But the phone says I can't because I have to change something in the settings. Could someone please tell what to click in the settongs?

    i wanted to email my messages history in Viber. But the phone says I can't because I have to change something in the settings. Could someone please tell what to click in the settongs?

    How could anyone tell you what settings to change when it's not clear what settings you're referring to?

  • I got this error while my mac was backing up to time machine: he backup disk image "/Volumes/Data/Sanjeev's iMac.sparsebundle" could not be created (error (null)). Please could someone help

    I got this error while my mac was backing up to time machine: he backup disk image “/Volumes/Data/Sanjeev’s iMac.sparsebundle” could not be created (error (null)). Please could someone help

    Has the backup been working ok??
    If that is the case simply reboot the TC.. or if that fails, reboot the whole network, restarting in correct order..
    modem.. wait 2min
    TC.. wait 2min

  • Mac os x . Face Time - I connect to the other person and the call futs off and ends immediately.Please could someone help?  Thanks.

    Mac os x . Face Time - I connect to the other person and the call futs off and ends immediately.Please could someone help?  Thanks.

    What version of FaceTime are you using? The current one for 10.6 is 1.0.5.
    FaceTime calls after April 16, 2014 – Unable to make or receive
    FaceTime Troubleshooting

  • HT1926 Trying to re-install iTunes and the message "Apple mobile device failed to start. Verify that you have sufficient privileges to start system services." But I don't know what to do? Please can someone help, I'm not the most technologically advanced

    Trying to re-install iTunes and the message "Apple mobile device failed to start. Verify that you have sufficient privileges to start system services." But I don't know what to do? Please can someone help, I'm not the most technologically advanced person.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • TS3274 When sending a photo by email, the receiver gets the photo upside down.  Why is this and what can I do to correct the error please?

    When sending a photo from my iPad with an email, the receiver gets the photo upside down.  Why is this and what can I do to correct the error please?

    I venture to say the recipient is a Windoze user and if so, state of the art Windoze ignores or doesn't recognize photo orientation data that is included with a photo's EXIF data.
    There are 3rd party photo viewing apps that provide for this but not incorporated with Microsoft software.

  • I have a Mac os x 10.58. Please could someone illustrate exactly what settings I should have on my computer to make video calls with Skype?

    I have a mac OS X 10.58 Please could someone illustrate exactly what settings I should have on my computer to make video calls with Skype? Thanks.

    Then all you need is an external compatible webcam with your Mac Mini.  Skype is currently compatible with your Mac and operating system
    http://www.skype.com/intl/en-us/get-skype/on-your-computer/macosx/

  • HT201398 unable to install app,none of these solutions helped me could someone give me new solutions please

    unable to install app,none of these solutions helped me could someone give me new solutions please

    What app?
    What 'solutions'?

  • HT201210 what is the error code 1051 im trying to fix the iphone 3G it keeps telling me to conect to itunes it starts to install the gives me the error code

    what is the error code 1051 im trying to fix the iphone 3G it keeps telling me to conect to itunes it starts to install the gives me the error code

    I suspect you meant 1015, not 1051. You have a jailbroken phone. you can't get help here.

  • Please could someone confirm the Graphics card needed to support a Eizo ColorEdge CG275W monitor, resolution 2560x1440

    Hello, community, Please could someone confirm the Graphics card needed to support a Eizo ColorEdge CG275W monitor, resolution 2560x1440. I currently have a Mac Pro with a NVIDIA GeForce 7300 GT VRAM (Total):          256 MB, which I'm guessing by it's age will not handle the new monitor. Any advice greatly appreciated.
    Kindly Andrew Nash

    https://discussions.apple.com/message/5024326#5024326
    I would dump the 7300GT regardless and get the ATI 5770 $249
    Apple ATI HD 5770
    5770 in the 2006 Mac Pro

  • Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.

    Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.
    These files open correctly when sent as doc files.
    Thanks

    Congrats to Saeid, Ronen, and Ricardo! Big thank you to all our contributors!
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
    Also worth a mention were the other entries this month:
    [T-SQL] Retrieve Table List with Number of Rows by
    Emiliano Musso
    Richard Mueller: "Short but sweet solution to basic question."
    Durval Ramos: "A simple T-SQL script, but useful."
    [T-SQL] Search for Missing Values within a Numerical Sequence by
    Emiliano Musso
    Richard Mueller: "Clever solution with good code examples."
    Durval Ramos: "You need add more details about development of the idea and create a "Conclusion" section to easy understanding."
    [T-SQL] Converting Multiple Rows into HTML Format single ROW by
    Maheen Khizar (Bint-e-Adam)
    Durval Ramos: "In some situations, It's need to consume and format HTML tags for a UI, but It's important to remember that Best Practices recommend this formatting process preferably in Presentation Layer"
    Richard Mueller: "A great new idea. Some features need more explanation. Avoid first person."
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • My macbook pro screen blinks every 10 seconds

    Is there any solution for a blinking screen? Seems to be blinking about every 10 seconds, makes it very had to compose an email as when it blinks i will lose my typing ability. I think it started around the time of the last OS upgrade. Has anyone els

  • My ipod 5 wont turn on

    Recently I dropped my iPod5 partly in the toilet. It wasn't all the way in but the top where the camera was got when. I dried it off and turned it off right away. It didn't get wet to much but, just as a precaution I put it in rice for a couple of da

  • How do i find out what year my imac was made so i can upgrade?

    how do i find out what year my imac was made so i can upgrade?

  • Wacky wifi problem. Completely broken.  Anyone help? Please?

    My macbook(10.5) suddenly dropped my wifi connection last night. I clicked the airport tab in the menu bar and noticed all the available networks (mine and neighbors) are all there, but they are spelled wrong. For instance, my network is called "iRiz

  • 16 Bit Recordings & 24 Bit EXS Samples

    Hi, If I'm recording at 16bit, should I not use 24bit samples in my EXS Drumkits? I'm receiving the following error: "Error while trying to synchronize Audio and MIDI Sample rate 42701 Recognized. Check conflict between Logic Pro and External device.