score:165
It seems to fail when trying to restore the workspace.
Try:
Open a new workspace. If it has been set to use a default, go to
<Eclipse_root_dir>\configuration\.settings\org.eclipse.ui.ide.prefs
and setSHOW_WORKSPACE_SELECTION_DIALOG
to trueTry deleting
<workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap
As suggested in a comment: If using Eclipse 4, you may have to delete the file
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
aswell.
score:0
Find your installations eclipse\configuration.settings folder
edit org.eclipse.ui.ide.prefs to show workspace=true
Create a new workspace Run eclipse again Import your project from previous workspace
score:0
Erase the old .metadata
folder from the workspace and copy the new one that was created somewhere I chosen the first time.
Background: I had a similar problem and it started when I uninstalled the eclipse and installed it again, so at the first time I created a new workspace, I work without any problem, then another time I chose the old workspace, so when I tried to open it, it used the old .metadata
folder.
score:0
My problem was I somehow installed 32-bit Java and screwed up my environment variables so the jdk1.7.0_10 wasn't in PATH any more. Fixed it from the accepted answer here, following the poster's screenshot.
score:0
Please make sure you have the right bit version of Java. I had 32 bit on 64 bit computer. Do verify your java version here - https://www.java.com/en/download/installed.jsp
Proved to be very handy when I installed the right version!
score:1
Summary
Flash Builder or Eclipse won't start. This happens when it is shut down incorrectly (like when your laptop battery dies).
Solution
Delete the workspace .snap file.
Steps
First, show hidden files. You can do this by opening Terminal and setting Finder's show all files property to true. You must also restart Finder for the changes to take effect.
defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder
Delete the Eclipse snap file. To do this navigate to your Eclipse workspace. In that directory you'll find the hidden .metadata directory. Navigate to ".metadata/.plugins/com.eclipse.core.resources/". In that directory you'll see a file called ".snap". Make sure Eclipse is closed (not open and not stuck on the splash screen). Next delete the ".snap" file.
Restart Eclipse. Once it is working set the hidden folders back to hidden with:
defaults write com.apple.Finder AppleShowAllFiles FALSE
killall Finder
score:2
Make sure you have the jdk installed. If it persists try downloading a new copy of eclipse.
score:2
I tried removing the
org.eclipse.core.resources
from safe table, restart eclipse, you should be able to see all the configuration, but you won't be able to see your project, that you might
have to import.
Cut org.eclipse.core.resources
from safe table
Restart Eclipse then copy back your the org.eclipse.core.resources
and then restart.(but you have to import the project for sure, )
from C:\Workspace_BR-12-Q3-MPSERS-REFORM\.metadata\.plugins\org.eclipse.core.resources\.safetable
This seems lie it will happen when you have multiple trees in your workspace.
score:2
I have to re install jre and it's work!, nothing else.
score:3
I had the same problem of not being able to start eclipse after a bad crash in windows and deleting the workspace settings did not help. Reinstalling eclipse did not help. I had to uninstall and install Java and I could run Eclipse again.
score:8
There is a .metadata
directory in your workspace. Within it, there is a file named .log
- if the startup process does not fail very early, it should contain useful error messages.
score:13
This is my solution:
delete the file .snap located inside:
<workspace>/.metadata/.plugins/org.eclipse.core.resources/
delete the file: workbench.xmi located inside:
<workspace>.metadata/.plugins/org.eclipse.e4.workbench/
Then you will not have problems accessing to your Eclipse.
My old solution:
This problem is caused mainly by a corrupt workspace, i had the choice of create a new workspace
but i had the projects linked to Subversion
, so i needed preferently keep the same projects inside my original workspace
, now i want to expose my solution:
inside the workspace
into the folder .metadata
, delete all the files inside:
then import again your projects File
-> Import
-> Existing Projects into Workspace
Source: stackoverflow.com
Related Query
- Eclipse won't start but no error is shown
- Eclipse Juno wont start and it has no error
- Can't start Eclipse - Java was started but returned exit code=13
- Eclipse returns error message "Java was started but returned exit code = 1"
- Eclipse error "ADB server didn't ACK, failed to start daemon"
- An internal error occurred during: "Updating indexes".Java heap space during eclipse start up?
- "method is ambiguous for the type" but the types are NOT ambiguous (and the error comes by upgrade from eclipse 3.7.2 to eclipse 4.2)
- Eclipse Start Weblogic in debug Mode error : “Failed to connect to remote VM”
- Python code works, but eclipse shows error - Syntax error while detecting tuple
- Gradle project in eclipse builds fine but java files show compilation error
- Error shown when creating new Maven project in Eclipse
- Eclipse is throwing error - Java was started but returned exit code= -805306369
- Eclipse displaying error but not giving error in console
- java generics: compiler error not shown in eclipse
- Eclipse wont run: \.metadata\.log error
- Eclipse error upon start up
- I'm trying to install eclipse egit but there's this error saying
- Tomcat server wont start in eclipse due to servlet
- Eclipse project folder shows error But not showing error in any files inside folder
- Eclipse can't start on Linux: Java Fatal Error
- Eclipse Error - Java was started but returned exit code=13
- Eclipse signals an error but the code compiles
- Eclipse returned error message “Java was started but returned exit code= 1”
- eclipse installed but cannot start java returned exit-code = 1
- Imported Maven Project into Eclipse 3.7 (m2e 1.0) but src/main/java are not shown as source-package
- Eclipse loads but gives an error "initializing java tooling"
- OpenCV C++ code runs fine in terminal but error in running from eclipse - Ubuntu 12.04
- eclipse.ini has been changed, but eclipse wont updated in Ubuntu 14.04
- Eclipse error in project, but i can't find it
- Eclipse reports syntax error in JSP file, but application works
More Query from same tag
- Using SVN Revision no in the source code
- Excluding particular facet when creating project from predefined maven's archetype, is it possible?
- NullPointerException launching Android application
- Add servlet.jar in my classpath
- How to debug a JSP tomcat service using eclipse?
- Glassfish logs error - java.lang.ClassNotFoundException
- Eclipse changed package view to folder view in Package Explorer?
- My Eclipse installation/project broken - I can't get it working again
- How to add 70 local jars on maven project?
- sdk8 eclipse suddenly stopped
- Creating a multi touch program
- eclipse doesn't compile the project
- java.lang.NoClassDefFoundError: Maven projects
- Android NDK: Missing LOCAL_MODULE before including BUILD_SHARED_LIBRARY
- The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located
- Setup run configurations for every script for project in Eclipse
- Eclipse in OS X uses different version of Java than CLI
- Eclipse treating all the files in a project as Derived
- Cannot find org.aspectj.weaver.reflect.ReflectionWorld
- Eclipse features in VisualStudio
- Running servlet within Eclipse requires libs to be defined 3 times - am I doing something wrong?
- Eclipse constantly loses connection to device during debugging over USB
- Error running GWT Stockwatcher example project
- SonarLint alerting for a java:S1206 issue but hashCode and equals are implemented
- Best practise for data binding a list in Eclipse RCP application
- How to change a clear case login details in eclipse
- Difference between the output with the paws and without?
- Eclipse syntax color scheme not working correctly
- Can't clone TFS Git Repository using Team Explorer
- Cannot import existing Maven projects - Broadleaf