Summary records of some configuration, errors, etc. of the eclipse usage process

Source: Internet
Author: User
Tags svn what svn

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.