It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

navmap-mytheme.vm

Hi,

We are facing issues with navmap-mytheme.vm macro, any help on this file or below error removal would be helpful.

Please note that I have gone through below url, let me know if you have any other solution for this.

" http://confluence.atlassian.com/display/CONFKB/%27Unable+to+Find+Resource+navmap-mytheme.vm%27+Error+Due+to+Navmap+Custom+Setting "

===============================================================================
2011-06-28 12:19:17,727 ERROR [TP-Processor21] [confluence.util.velocity.VelocityUtils] getRenderedTemplate Error occurred rendering template: /com/atlassian
/confluence/plugins/macros/advanced/navmap-mytheme.vm
– url: /confluence/display/IBTCP/OPERATE | page: 52333045 | userName: anonymous | action: viewpage
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/com/atlassian/confluence/plugins/macros/advanced/navmap-mytheme.vm'
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:400)
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(ConfigurableResourceManager.java:304)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)
at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:422)
at com.atlassian.confluence.util.velocity.VelocityUtils.getTemplate(VelocityUtils.java:83)
at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:67)
at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:55)
at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:38)
at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:31)
at com.atlassian.confluence.plugins.macros.advanced.NavigationMapMacro.renderNavMap(NavigationMapMacro.java:86)
at com.atlassian.confluence.plugins.macros.advanced.NavigationMapMacro.execute(NavigationMapMacro.java:79)
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51)
at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203)
at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169)
at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67)
at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105)
at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:46)

Thank you & Regards,
Rakesh Sharma

1 answer

What's the wiki markup for the page generating this result? What version of Confluence?

Are you just using the example on the page: http://confluence.atlassian.com/display/CONFKB/%27Unable+to+Find+Resource+navmap-mytheme.vm%27+Error+Due+to+Navmap+Custom+Setting ?

It could be because the documentation is for a different version? The file needs to be in

confluence\WEB-INF\classes\com\atlassian\confluence\plugins\macros\advanced\navmap-mytheme.vm

You will need to create the directories from plugins\macros\advanced as they don't exist.

Tested on version 3.2.1

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published 9 hours ago in Off-topic

Teams behind the teams - Your nominations please!

Teams do amazing things together. We’ve talked about the myth of the lone genius and how everything is actually the result of teamwork. You might be thinking, What about a novelist writing, say, Th...

52 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you