To use the plone:static
directive you must include the meta.zcml
.
It's documented in the package documentation at https://pypi.python.org/pypi/plone.resource/
You must do <include package="plone.resource" file="meta.zcml"/> before you can use the plone:static directive.
So: add the line <include package="plone.resource" file="meta.zcml"/>
before the usage of plone:static
.