9.5.2. Deploy the CarMart Quickstart to Tomcat


The following procedure outlines how to deploy the CarMart quickstart to Tomcat 7:
Prerequisite

The CarMart quickstart must be built to be deployed.

Procedure 9.5. Deploy the CarMart Quickstart to Tomcat

  1. Edit Server Credentials

    Add the server element in your Maven settings.xml file (located in your Maven installation's conf directory) with the required credentials:
    <server>
         <id>tomcat</id>
         <username>admin</username>
         <password></password>
     </server>
    
    Copy to Clipboard Toggle word wrap
  2. Deploy your Application

    Use Tomcat's Maven plugin to deploy the application as follows:
    $ mvn tomcat:deploy -Plibrary-tomcat
    
    Copy to Clipboard Toggle word wrap
  3. View your Application

    To view the application, use your browser to navigate to the following link:
    http://localhost:8080/carmart-quickstart
    
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat