eclipse.equinox.p2.repository.tools is missing #720

CLOSED TaskMan
Submitted 5 months ago

I completed the exercise "1. Exercise: Creating the basis frame for a task management application" in the Eclipse RCP Training, but I cannot launch the project. Eclipse detects the problem: eclipse.equinox.p2.repository.tools is missing. If I continue anyways I get the following exception:

java.lang.RuntimeException: Application "org.eclipse.equinox.p2.metadata.repository.mirrorApplication" could not be found in the registry. The applications available are: org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1435)

Comments

  5 months ago

Some dependencies were missing and could be resolved by installing equinox.p2 packages.

can be closed

  5 months ago

Hello,

sorry for the missing response, we had "home summer vacation" in which we did not check the issue system.

eclipse.equinox.p2.repository.tools is not necessary for the launch. From the error message it sounds like you did incorrectly specify the application to be started as mirrorApplication. You should have specified org.eclipse.e4.ui.workbench.swt.E4Application

Hope this helps, Lars

Please login to write a comment.