Solved

jsp javax.mail

Posted on 2004-04-16
1
226 Views
Last Modified: 2010-03-31
From what I heard, to use javaMail, had to set classpath=...\mail.jar replacing ...\j2ee.jar in j2ee1.4. So it works that way when I ran a java app.

Now when I am trying to call a bean from a jsp, it says: "NoClassDefFoundError: javax/mail/Message"

What gives?
0
Comment
Question by:menubar
1 Comment
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
ID: 10840116
Using Tomcat?

Put the mail.jar file in

webapps/your-app/WEB-INF/lib

Don't touch the classpath
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 3 50
mapAB Challlenge 35 123
java  and programming certification ? 4 86
create a gui in perl 3 67
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

3 Experts available now in Live!

Get 1:1 Help Now