Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jar file in WEB-INF\lib

Status
Not open for further replies.

Ouch

Programmer
Jul 17, 2001
159
GB
Hi All,

i know next to nothing about tomcat but i am trying to learn.
I have set up tomcat and i can run the sample jsp's and i have writen some basic jsp's that work fine.
I want to write a page that uses a class thats in a jar called VistaSDKClient.jar the class is called com.webct.platform.sdk
i have put the jar file into C:\tomcat\webapps\ROOT\WEB-INF\lib and restarted the tomcat server.
when i try to run a page that just has
<%@ page import="com.webct.platform.sdk.*,java.util.*" %>
in it it comes back with the error
package com.webct.platform.sdk does not exist

Can anyone point me in the right direction..have i missed something
 
well that should be OK (if the JSP resource you are trying to access is withing the ROOT webapp).

You could try putting the jar in TOMCAT_HOME/common/lib ...

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top