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

Creating a Web Application

You can use Developer Studio to create a web application (webapp), which you can host on the Application Server. You can create a new webapp or import an existing webapp from a WAR file.

As you create the webapp, you can configure facets, runtimes, an EAR project, and the context root. For information on these concepts, see the topic on creating a dynamic web project in the Eclipse help (click Help -> Help Contents and search for "dynamic web project").

Creating a new webapp

Follow these steps to create a new webapp. Alternatively, you can import an existing webapp.

  1. Open the Developer Studio Dashboard (click Developer Studio -> Open Dashboard) and click Web Application.
  2. Select Create New Web Application and click Next.
  3. Type a unique name for the webapp project, and then either leave the default location, or clear the check box to specify a new location where you want to create the project.


     
  4. Specify the server runtime environment (the container in which the webapp will run). To enable the webapp to run with WSO2 Carbon products, click New Runtime, expand the WSO2 folder and select the version of Carbon.


     
  5. Specify the carbon home path and click Finish.


     
  6. Specify the dynamic web module version (the version of the Servlet API) that is compatible with the target container.
  7. Specify the configuration you want to use as the starting configuration for this webapp. To modify the facets and limit the runtimes that this project is compatible with, click Modify.
  8. Optionally add this project to an Enterprise Archive file (EAR) and working sets.
  9. Click Next, and either leave the default web module settings or configure the settings as needed.
  10. Click Next and optionally configure the Maven settings.
  11. Click Finish.

The new webapp project has now been created in the workspace. You can export this webapp to a web archive (WAR) file by right-clicking the project and choosing Export -> War File. You can then import it into another project or environment.

Importing an existing webapp

Follow these steps to import an existing webapp from a WAR file. Alternatively, you can create a new webapp.

  1. Open the Developer Studio Dashboard (click Developer Studio -> Open Dashboard) and click Web Application.
  2. Select Import Web Application and click Next.
  3. Specify the WAR file by typing its full path name or clicking Browse and navigating to the file.


     
  4. Click Next if you want to specify Maven information.
  5. Click Finish.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.