Eclipse Failed to Launch on Mac OSX: “No application id has been found”

I tried to startup my existing Eclipse and it doesn’t work with the error message:

"An error has occurred. See the log file /Applications/eclipse/configuration/1344483936178.log".


So, I tried to remove the existing Eclipse installation folder and re-install a new Eclipse but the problem still occurs. I did some google work and found this site that provides the workaround which worth to give it a try:
Eclipse on macosx: org.osgi.service.application.ApplicationException: No application id has been found

The directed log file contains the following stacktrace:

!ENTRY org.eclipse.equinox.p2.core 4 0 2012-08-09 13:44:21.828

!MESSAGE Provisioning exception


org.eclipse.equinox.p2.core.ProvisionException: Unknown repository type at file:
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.

!ENTRY org.eclipse.osgi 4 0 2012-08-09 13:44:22.863

!MESSAGE Application error


org.osgi.service.application.ApplicationException: No application id has been found.

at org.eclipse.equinox.internal.app.EclipseAppContainer.
at org.eclipse.equinox.internal.app.MainApplicationLauncher.



Here are the steps that I have done to resolve the problem:

  1. Remove the following files (My id is 1 instead of 9):
    • /Application/eclipse/configuration/org.eclipse.core.runtime/.extraData.1
    • /Application/eclipse/configuration/org.eclipse.core.runtime/.mainData.1
  2. Find the location of xercesImp.jar via the terminal:
    mychin$ locate xercesImpl.jar
  3. Move the xercesImpl.jar to the /tmp folder:
    mychin$ mv /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/xercesImpl.jar /tmp

Relaunch the Eclipse and now it works well.

facebooktwittergoogle_plusredditpinterestlinkedinmailby feather
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)


Leave a Reply