I write a daemon like demo,but the function of DaemonContribution return status is error,but I checked the path ,it is right,and code is almost the same as demo,is there anything I forget to do?
here is picture:
here is code:
From your package name, it seems your namespace is “com.Vitex…”
However in your daemon service, the path to the daemon is “com.ur.urcap.sample…”.
So you should probably revise the two URL’s used in the DaemonService.
the path /com…is in the resource folder,I think it doesn’t matter. and previously,i just did as you said,but the result is also failed.