com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Webapp Versioning

Starting from Application Server 5.2.1, AS provides support for webapp versioning. With webapp versioning, you can have two webapps which could have same context-prefix with different context-post-fixes set as the versions. For example, you can have two webapps which will have contexts like follows:

helloworld/1.0

helloworld/2.0

helloworld

example/version1

We have facilitated this feature using a special convention for the webapp file name. We have closely followed the Tomcat Context Naming Convention, but the concepts are different between the two. With Apache Tomcat, the web application versions refers to internal versioning with the same context path for both the web applications. But with Application Server, what we have implemented is a way where the context path is modified to mention the version. If you read the above mentioned article, the naming convention we follow is pretty similar to the use of single hash symbol '#' in webapp name. 

To use webapp versioning with AS, set web application (war) file name similar to following examples mentioned in the table. The version part is treated as a String for flexibility.

Webapp File NameContext Path
helloworld#1.0.warhelloworld/1.0
helloworld.warhelloworld
example#version1.warexample/version1

 

 

 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.