| Author |
java.lang.NoSuchMethodError: javax.servlet.ServletContext.
|
krishna ven
Greenhorn
Joined: Sep 05, 2007
Posts: 2
|
|
Hi All, Can anybody help me on this error. java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set I have the servlet-api.jar in the classpath but getting the same error. thanks in Advance krishna@123
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
What version of the servlet spec does your container support? This method was added in Servlet Spec 2.3
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
krishna ven
Greenhorn
Joined: Sep 05, 2007
Posts: 2
|
|
i am using servlet-api 2.4 , can help me
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
Can you post the part of the code that calls getResourcePaths?
|
 |
 |
|
|
subject: java.lang.NoSuchMethodError: javax.servlet.ServletContext.
|
|
|