While m trying to run the server using the custom jar file I have created I am getting the following error:
Exception in thread "main" java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
But locally it runs perfectly fine. I created a jar file from the same source 3 months back that also worked fine but now it is showing the above error which is very strange for me.
Kindly help.
I think you are missing some dependencies.
How can I find this out as the same code created proper jar file 3 months back and I have not touched the source code since the.
Is their anything u can suggest based on the error message
While m trying to run the server using the custom jar file I have created I am getting the following error:
But locally it runs perfectly fine. I created a jar file from the same source 3 months back that also worked fine but now it is showing the above error which is very strange for me.
Kindly help.