独自のマクロを作成し、誰でも使用できるように追加しようとすると、次のエラーが発生します。
Error number 4001 in 4: Error while parsing velocity page /templates/docdoesnotexist.vm
ラップされた例外: Velocity エンジンを開始できません
そのファイルは変更しませんが、xwiki/templates/macros.txt
とをそれぞれ/macros.vm
追加して変更します (はい、 の後に作業内容を追加します)recentChanges=velocity:recentChanges:
#macro(recentChanges)
#macro(recentChanges)