Environment: Eclipse (for Java EE 4.3.2 64-bit), JDK7 (64-bit) TOMCAT7
Problem Description: The project does not have a standard package structure and cannot be deployed automatically
Scenario: Check out the project through SVN in Eclipse to the local tomcat WebApps package
First, install the SVN and Tomcat plugin for Eclipse
SVN by launching Eclipse, help--instal NEW * * Then install according to Baidu tips
The Tomcat plug-in version 3.3.1 Plug-in package is placed under Eclipse's plugins package, where the version is compatible otherwise, no effect
Mapping local tomcat and Eclipse in Tomcat tool: Start Eclipse,windows--Perfiences--Tomcat Click
Then select the local Tomcat package installation path
Second, the problems encountered:
SVN checks out the project and the jar package referenced in the project needs to be added again. Need to add a Lib package to the Web-info to store the relevant jar
The project also needs to introduce the jar ... These two jar functions are different. The former is used by Tomcat.
At startup. Error: 1. Add Xercesimpl.jar to Lib and automatically deploy to Tomcat (I use it myself)
2. Related to view related configuration files such as: Misparam.xml referenced in the project path under Tomcat changed to local
The path that should be.
3. Replace the Datasource.xml configuration file in Eclipse (here is where the data connection is configured, as it is actually set). WEB-INFO/SRC (I use it myself)
4. Memory Overflow problem: (Learn about Baidu in the relevant content)
There is no automatic deployment of projects