Deploying my JSP

My program runs fine locally, as a non JSP application. It uses the CsvReader library javacsv.jar, and one of my files imports "com.csvreader.CsvReader" from this library.

When I try running it as a JSP application, it gives me a NoClassDefFound for "com.csvreader.CsvReader" class. I added the library to my Classpath, and I even put the jar in the WEB-INF/lib directory. Is there something else I need to do for it to execute this library correctly?

[465 byte] By [eur0dada] at [2007-11-27 11:00:02]
# 1

putting the jar file in WEB-INF/lib of the web application should be sufficient.

Did you restart the server after that?

Which server are you using?

evnafetsa at 2007-7-29 12:27:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Looks like I just had to restart my Apache/Tomcat. Thanks.

eur0dada at 2007-7-29 12:27:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...