Background:
Company projects using jdk1.6, TOMCAT7, SVN, this article summarizes the use of some of the current configuration and problems.
1, the Eclipse project several configuration:
(1) java/installed JREs: Preferences, Windows--
JRE Home:c:\program Files (x86) \java\jdk1.6.0_33
JRE name:jdk1.6.0_33
(2) Bottom view plus ant
Winodws-Show View, other. Drag the project build.xml onto Ant, Ant-and OK.
2. Modify SVN username and password in eclipse
Source: http://www.cnblogs.com/exmyth/p/4446665.html
(1) See what SVN Interface is used in your eclipse
Windows > Preference > Team > SVN > SVN Interface
(2) If the Javahl is used, locate the following directory and delete the files in the Auth directory.
Windows 7
C:\Users\ "Your user name" \appdata\roaming\subversion\auth\
Xp
C:\Documents and Settings\ "Your user name" \application Data (hidden folder) \ "Subversion\auth"
(3) If you use the Svnkit, locate the following directory and delete the. keyring file.
[Eclipse] "Configuration" org.eclipse. Core.runtime
3. SVN ignores classes, release, bin
(1) Open repository Browser (enter the svn:\\ in the Explorer, enter the URL after entering the address), delete the inside classes, release subdirectories
(2) Delete the classes, Release subdirectory of the local computer all files, right click on these subdirectories, team---add to Svn:ignore.
(3) Eclipse->window->preferences->team->ignored resource->add pattern->
If you ignore the Realse folder, add Pattern, fill in the */realse/*
If you ignore the Bin folder, add Pattern, fill in */bin/*
If you omit the. class type file, fill in the *.class
4. Breakpoints frequently stop at Threadpoolexecutor during Eclipse debugging
Solve:
Eclipse->window->preferences->java->debug, remove "Suspend execution on uncaught exceptions"
5, Eclipse Import Project, the content is not wrong, the project has a small red fork
Solve:
The Problems tab will have a detailed description of the error, and if it is turned off, reopen the method:
Eclipse->window->show View->other->problems.
6. Error Tip: The method of type must override Asuperclass
Solve:
Windows->preferences->java->compiler, Compiler compliance level on the right is modified to 1.6
Project Right->build Path->configure build Path->java Compiler->compiler Compliance Level modified version 1.6
7. Error Hint: Java compiler level does not match the version of the installed Java project facet
Solve:
Right-click the project Properties->properties->project facets->project facets-> "Java" drop-down list to select the appropriate version
8. Eclipse several common shortcut keys
What to look for: Ctrl + H
Find files: Ctrl + SHIFT + R
Format code: CTRL + SHIFT + F
Add "/" Comment: Ctrl +/
Add "/**/" Comment: Ctrl + SHIFT +/
Delete Row: Ctrl + D
Vertical selection (on, off): ALT + SHIFT + A
Rename method, etc.: ALT + SHIFT + R
Summary records of some configuration, errors, etc. of the eclipse usage process