我在融合中遇到了一些宏问题,我创建了 TestMacro.java、TestTemplate.vm 并在 atllassian-plugin.xml 中添加了必要的信息,例如
<macro name="test" class="path.TestMacro" key="test">
<description>Test Macro</description>
</macro>
然后我添加
{test}
到我的汇合页面,刷新后我看到宏没有呈现,有人能告诉我为什么会这样吗?
我有这个错误:
Unknown macro: {test}