org.apache.maven.InternalErrorException

Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository

Solutions on the web401

  • via codegur.net by Unknown author, 1 year ago
    Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository
  • via codegur.online by Unknown author, 11 months ago
    Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository
  • Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository
  • Stack trace

    • org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'egit' from location file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:301) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:269) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:174) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:126) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:82) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:221) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/C:/Users/panagiotis/Desktop/egit-github-master/org.eclipse.egit.github.core/../../egit/org.eclipse.egit.repository/target/repository. at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:59) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:52) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:297) ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago