Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Java.lang.NoClassDefFoundError
Message
 
À
Tous
Information générale
Forum:
Java
Catégorie:
Classes
Titre:
Java.lang.NoClassDefFoundError
Divers
Thread ID:
00507623
Message ID:
00507623
Vues:
51
I have some code:
StlEmailNotification emailNotify = new StlEmailNotification();

which has no constructor and one method. The method uses javamail so it's imported at the top of the class
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;


I use JDeveloper and it compiles fine. When I run it I get:
Java Execution Error: Method threw exception: stl.serverside.trueme.swcase.StlCaseNotification.sendToTechnicalManager : java.lang.NoClassDefFoundError: javax/mail/MessagingException

The Jar files appear to be in all the right places etc but my code still falls over when the object is created (long before the method is called). It seems wierd that the object can't be created!

Any ideas on what I can do to get around this?

Sarah
Sarah King
pcpropertymanager.com
Répondre
Fil
Voir

Click here to load this message in the networking platform