The official source's servlet plugin (userservice) can't use when deploy to linux

1.First. i develop a servlet plugin to push message, it can be used in local(Windows), but when i deploy it to linux, report 404 error.

2.So then, i try to test the official source’s servlet plugin–userservice, it’s also has the same problem with 1.

3.At last. i try to deploy it to Windows7, also has the same problem.

i really don’t has any ideas, hope someone can help me. i think it’s deployment environment’s problem, but i don’t know how to check it.

My local environment : Openfire3.9.3 | Spark2.7.1 | JDK1.8.0_51 | Eclipse in Windows7

Server environment : Ubuntu 14 | Windows
RecPushNotiByServlet.java (2986 Bytes)