Ant build plugin file structure - 404

Hi, when trying to connect to API in a developed plugin I am using ant to build the required folders but I get a 404 when trying to use postman with the API methods. This is the file structure under the build file, with the .zip file I am installing:

1 Like

Have you addrd restResources entry in manifest.xml?

Yes it is there, and the mapping to java class is right.

Plugin requires server restart if you are having multiple servers inplace. You can try that. If this doesn’t works then we need to look into code

No it doesn’t. There is a “PluginSync” service that deploys between appservers when plugins are updated, installed, or removed. However, it’s not 100% reliable, so restarting can’t hurt if it’s weird.

What URL are you attempting to access in Postman?

Haha… true… I have rarely seen that service doing its job perfectly, so did I recommend to restart and try.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.