What I\'m trying to do is to update my database after a period of time. So I\'m using java scheduler and connection pooling. I don\'t know why but my code only working once. It
This problem is likely to arise when two versions of a same module are present.
Kindly check the lib
folder for multiple versions of the same module.
Remove the version that you don't need and restart the server.
In my case it was servlet-api
present in two versions servlet-api.jar
servlet-api-2.jar
Hope this solves your problem. Good day!