Custom Rest API's are not working in flowable-task

#1

I am new to flowable. I need to create the custom Rest API along with flowable default API.

I have a created the Spring Rest Service Project with some custom services are exposed in it. I am getting the response of the custom services through postman if project is converted as War project (Added in tomcat webapp). Same is not working if project is converted as Jar and added in flowable-task Application (flowable-task\WEB-INF\lib).

Url : http://localhost:8080/flowable-task/services/WrapperCode/ping (Not working)

Do i need to added the any configuration in my project ?

Please help me to resolve this issue ASAP.