Traccar Server Custom JAR File Error

Nikhil6 years ago

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.

Anton Tananaev6 years ago

I think you are missing some dependencies.

Nikhil6 years ago

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.

Nikhil6 years ago

Is their anything u can suggest based on the error message

Anton Tananaev6 years ago