this happened with me once, in my case the custom tags were defined in a shared library jar that was deployed saparately and happened to be missing from publish. you may want to track down which files provide support for your custom tags and make sure they are available in publish.