The project is not going to run very soon, so I've summed up the project from SVN to eclipse:
1. Right-click the project, tap properties, find project facets, select dynamic Web Module, Java, javaScript, click OK.
2. Right-click the project, tap build Path, click Add Libraries in Libraries, click Server Runtime, select your desired tomcat.
3. If the item has a red exclamation point, click Build Path, click Add Libraries in Libraries, and click
JRE system Library, select the JRE system you want.
There are two steps to follow:
A solution:
The file Server.xml under 4.servers requires a custom load project.
<context docbase= "file path \ Project name \webroot" path= "project name" reloadable= "true"/>
<context docbase= "E:\jh\BCIMSUI2\src\main\webapp" path= "/bcimsui2" reloadable= "true"/>
5.Tomcat No need to add items to launch directly. If you start the Tomcat discovery item is not loaded, or an error
Could not open ServletContext resource[/web-inf/applicationcontext.xml], you can put other people (or their own before) the project \webroot\ The classes file under Web-inf is copied to the Webroot\web-inf under the project. Restart Tomcat.
Another solution:
4. Find the project path, open the project name \.settings folder under the Org.eclipse.wst.common.component file, modify <wb-resource> inside the source-path= "/ WebRoot ". and delete the WebContent folder under the project path.
5. Add the project to Tomcat and start.
6. If the new changes are not compiled after the fifth step, and the clean workspace or project building workspace error
An internal error occurred during: "Building Workspace". Java Heap Space,
At this point, delete the copy of the classes file, and modify the Eclipse.ini file under Eclipse installation,
Replace the last two lines with:-xms512m,-xmx1024m.
7. Import the project from the external new Find Java project find the user Defalt localtion Select a project click in the output path
Select to Webapp/webinfo and add classes;
8. Add Publish directory Java BuildPath source Add fold webapp do not add
8. Then add the build path plus fold;
10. Add Tomcat Windows Preferences service runtimeeviroment add Select Path
11. Right click on the project Selection Porperties resource under Deployment Assembly see if all add WebApp directories
This is the case in my company, it is possible to configure different methods of the project is not the same, this is for reference only. Please leave a message if you have any questions.
Import projects from SVN to eclipse