Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Java.lang.NoClassDefFoundError
Message
 
To
All
General information
Forum:
Java
Category:
Classes
Title:
Java.lang.NoClassDefFoundError
Miscellaneous
Thread ID:
00507623
Message ID:
00507623
Views:
52
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
Reply
Map
View

Click here to load this message in the networking platform