1. The webapps of Tomcat needs to be associated to the project's workspace.
Add Conf\catalina\localhost under Apache-tomcat-6.0.41\conf, that is, create Catalina and localhost folders.
Add file Root.xml in localhost, file contents:
<?xml version= "1.0" encoding= "UTF-8"?>
<!--
Licensed to the Apache software Foundation (ASF) under one or more
Contributor license agreements. See the NOTICE file distributed with
This is for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); Except in compliance with
The License. Obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to writing, software
Distributed under the License is distributed on a "as is" BASIS,
Without warranties or CONDITIONS of any KIND, either express or implied.
See the License for the specific language governing permissions and
Limitations under the License.
-
<!--
<context path= "" docbase= "D:\projects\PayPlatform\target\payplatform-0.1-BETA.war"/>
-
<!--
<context path= "" docbase= "D:\projects\BankCompany\payPlatform\trunk\target\payplatform-web.war"/>
-
<context path= "" docbase= "D:\dev-rcrp-tree\newRcRp\refund-web\target\jd-web.war"/>
Where docbase specifies the location of the war package for the project. You can have it.
Tomcat-side boot project, discarding eclipse bring-your-own-boot