Environmental issues with Eclipse 1

Source: Internet
Author: User

The recent environmental issues of Eclipse in the project have been recorded today in a unified settlement.

Question 1:

Resource is out of sync with the file system ...


Eclipse Chinese is caused by a different step. In Eclipse, the project files are added by Eclipse Auto-Scan, and if the files in the project directory are modified externally and the auto-refresh feature is turned off, the file will be out of sync, resulting in a search that occurs resource
System issues (Other features may also be the case). In addition, it is possible that the issue may be caused by an external failure to modify files in the Eclipse project.


Workaround:

There are two ways to resolve this:

1) Manual Refresh. That is, in the project catalog of Eclipse, right-click Refresh (or press F5).

2) To configure Eclipse options:

A) When Eclipse starts, refresh workspace, tick: Window->preferences->general->startup and Shutdown->refresh workspace on Startup

b) Window->preferences->general->workspace: Tick the option: Refresh using native hooks or polling and refresh on access;

question 2. M2eclipse Error "Unable to locate the Javac Compiler in:

Total error when maven package:

"Unable to locate the Javac Compiler in: D:\Program files\java\jdk1.7.0_60\. \lib\tools.jar "

method One:



    1. Window
      Preferences, Java, installed
      JREs (This step is ignored if the list contains a valid JRE). Click the "ADD" button, select the default "Standard VM", click "Next >",
      Click "Directory" to the right of "JRE home" to select the folder D:\Program
      FILES\JAVA\JDK1.6.0_20\JRE, all the way "OK".

    2. go back to the "installed JREs" screen and tick the "jdk1.6.0_20" that you just added.

    3. Open
      "Installed JREs", "Execution Environments", click "j2se-1.5" to the left of the interface, then click "Jdk1.6.0_20" on the right.

    4. Restart Eclipse


Method Two:


windows->preferences->java->installed jres , plus tools.jar




Method Three:




    1. windows->preferences->java->installed JREs, use "Serach" to find the JRE

    2. Open "Installed JREs", "Execution Environments", click "j2se-1.5" to the left of the interface, then click on the right side to select the JRE you search for .




Reference URL:


http://alvinqq.iteye.com/blog/947506


http://blog.csdn.net/pengchua/article/details/2604911



Environmental issues with Eclipse 1

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.