| Author |
Class JSPException not found error
|
D. Rose
Ranch Hand
Joined: Apr 25, 2003
Posts: 215
|
|
Hi I am trying to compile my code via ANT. I get following error Symbol : class JSPException not found. I have installed java 2 SDK. Java Web Services Development kit. Am I missing something? [ January 05, 2004: Message edited by: Rei Damle ]
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
It looks like a classpath problem. Is servlet.jar in your classpath?
|
- Varun
|
 |
D. Rose
Ranch Hand
Joined: Apr 25, 2003
Posts: 215
|
|
Hi Varun, I do not see servlet.jar on my machine. Java web services pack ( has inbuilt tomcat impl) has servlet-api.jar file which is in my class path. Are servlet.jar and servlet-api.jar similar?
|
 |
D. Rose
Ranch Hand
Joined: Apr 25, 2003
Posts: 215
|
|
Hi, I think I have hit the answer by just trial and error. When I had jsp-api.jar file in my classpath alongwith servlet-api.jar, my error is gone. But by God, how are we supposed to know about this? I did not find it anywhere. I tried googling also but with no help. Can any experienced person, please tell me where all such nitty-gritties can be found?
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
Originally posted by Rei Damle: Hi Varun, I do not see servlet.jar on my machine. Java web services pack ( has inbuilt tomcat impl) has servlet-api.jar file which is in my class path. Are servlet.jar and servlet-api.jar similar?
Have you seen if JSPException class is there in servlet-api.jar?
|
 |
 |
|
|
subject: Class JSPException not found error
|
|
|