facebook

Java EE 6 Container Support?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #304623 Reply

    messiahic
    Member

    This message has not been recovered.

    #304705

    Loyal Water
    Member

    This message has not been recovered.

    #311350

    amir55
    Participant

    hi dear

    Ihave same errpr
    java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream

    Iuse MyEclipse 8.5 Jboss 4.2.2

    the program works fine with java run to send a an email.

    but when I run it in MyEclipse I get error. I added mail.jar but still the same error

    there must be a setting or more jars involved.

    please let me know.

    moreover where do I get the port number? Is it 25 always from windows xp?

    take care with thanks

    Amir

    #311381

    Amir,

    the program works fine with java run to send a an email.
    but when I run it in MyEclipse I get error.

    Can you list out the steps in detail to replicate your issue? Also, what is the JDK version that you are using?

    #311385

    Shibu Gope
    Member

    First of all, this is not a myeclipse issue and you don’t need javaee6 to email. It is available in jdk 5. Since you are deploying in jboss, you need to configure jboss to setup mail service as a jndi object. Look at /deploy/mail-service.XML. Follow jboss docs to set it up.

    Next on your desktop you need to run an smtp server if you are just sending email or use gmail. If your smtp server doesn’t need authentication then the setup is simple and the default port is 25. Gmail needs authentication info to send email.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Java EE 6 Container Support?

You must be logged in to post in the forum log in