This type of problem, when You face, straight away go to "server.xml" file. just see there is a tag : tag is multiple times, format that particular line with Ctrl + Shift + F and **delete the the second tag of context tag. Why we are doing and what are the effects, please read the below descriptions for details :
Server.xml file is the heart file of tomcat Container. it is dependent file of the server. there is a single server.xml file is available for many web application project. this file starts with tag which indicates the the tomcat container. in other words, The server.xml file is a server dependent deployment descriptor which is used to specify server specific configurations . There is only one server.xml for each server instance.
The Element
The element is the most commonly used element in the server.xml file. It represents an individual Web application that is running within a defined . There is no limit to the number of contexts that can be defined within a element. Each definition must have a unique context path, which is defined by the path attribute. The possible attributes for the element are described below.
Server ContextManager
... ( tomcat configuration ) /ContextManager /Server
Thanks, Rakesh Kumar Gupta
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.