Ce contenu n'est pas disponible dans la langue sélectionnée.
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
Edit Server Credentials
Add theserverelement in your Mavensettings.xmlfile (located in your Maven installation'sconfdirectory) with the required credentials:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Deploy your Application
Use Tomcat's Maven plugin to deploy the application as follows:mvn tomcat:deploy -Plibrary-tomcat
$ mvn tomcat:deploy -Plibrary-tomcatCopy to Clipboard Copied! Toggle word wrap Toggle overflow View your Application
To view the application, use your browser to navigate to the following link:http://localhost:8080/carmart-quickstart
http://localhost:8080/carmart-quickstartCopy to Clipboard Copied! Toggle word wrap Toggle overflow