Eclipse encounters an error has occurred. The log file
Source: Internet
Author: User
Eclipse encounters an error has occurred. Read the log file C:\workspace\.metadata\.log log contents:! ENTRY org.eclipse.core.resources 4 567 2012-03-18 00:29:35.775! Message could isn't read metadata for ' C:\workspace\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\ Properties.index '. ! STACK 0 java.io.EOFException at java.io.DataInputStream.readByte (Unknown Source) at org.eclipse.core.internal.localstore.Bucket.load (bucket.java:296) ! ENTRY Org.eclipse.osgi 4 0 2012-03-18 00:29:37.681! Message A error occurred while automatically activating bundle Org.eclipse.jdt.core (314). ! STACK 0 org.osgi.framework.BundleException:Exception in Org.eclipse.jdt.core.JavaCore.start () of bundle Org.eclipse.jdt.core. at Org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (bundlecontextimpl.java:806) WORKAROUND: 1, delete eclipse temporary files: Org.eclipse.osgi org.eclipse.update in the Eclipse\configuration directory restart the two subdirectories Eclipse (no use) 2, if not, do a backup of workspace items, delete the workspace directory and the two subdirectories above to start eclipse again, and then import the backed-up items (not try) 3. Or take the environment variable path This setting of the C:\j2sdk1.6.0-03\bin or Java_home is moved to the front of the path. (useless) 4. In Windows command-line mode, enter the Eclipse directory to perform Eclipse.exe-clean, at which point Eclipse can be started and the workspace directory will be selected. (useless) Open the working directory with another version is not open, confirm is not eclipse problem, should be working directory problem 5. Delete the workspace directory. Metadata,eclipse can open and rebuild workspace
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.