Eclipse suddenly opens and reports an error, prompting An error has occurred. See the logfile,
Check the log log and report an error: org.osgi.framework.BundleException:
Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
The following methods are required to find information on the Internet:
Just remove the folder under "X:/Documents and Settings/username/workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes"
or:
deleted the files
/.metadata/.plugins/org.eclipse.core.resources/.snap
and
/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
The first method above has no effect, the second method has no .snap and .root/.markers.snap files in my file.
Although this method did not solve my problem, it still gave me an inspiration. Since it is the error reported in the file org.eclipse.core.resources, could it be another file under this file that is wrong? Just delete it. So I tried to delete and restore the subfiles under the file one by one. When deleted to .metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse .core.resources , really succeeded.