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
Community showcase
Posted 12 hours ago in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

28 views 4 0
View post

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