How can I add new webresource to a servlet

Don’t use the WebResourceManager. Its deprecated, you should use the PageBuilderService instead. I don’t know why everyone here suggest to use the WebResourceManager…

Take a look here:

https://jira.atlassian.com/browse/JRASERVER-38808

https://developer.atlassian.com/server/jira/platform/jira-7-0-api-changes/#atlassian-plugins-webresource-module-deprecated-and-may-be-removed-in-7-x

2 Likes