[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

jsp javax.mail

Posted on 2004-04-16
1
Medium Priority
?
236 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

872 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