sonia.scm.plugin.PluginException: no core plugin index found

Issue #969 resolved
Krishna
created an issue

I am new to this scm development and did everything mentioned in attached pdf. I installed maven.. Cloned repository.. made scm-manager as workspace.. then import>file>existing project and selected the clone folder. And it looks like in "SS 1.png" Then clean build scm folder and all scm folder inside. Commented that <scope>provided</scrope> line in com.sun.jersey.contribs in pom.xml After that tried to run scm-webapp folder with base directory: ${workspace_loc:/scm/scm-webapp} goals: jetty:run

Jetty start also but when i hit http://localhost:8081/scm/ it gives: HTTP ERROR: 503

Problem accessing /scm/. Reason:

Service Unavailable

Powered by Jetty://

Below is my console output, do tell what's wrong i am doing or its some error

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building scm-webapp 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> jetty-maven-plugin:9.2.10.v20150310:run (default-cli) > test-compile @ scm-webapp >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ scm-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 11 resources [INFO] [INFO] --- change-env:1.0:change-env (default) @ scm-webapp --- [INFO] change env to default for /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/classes/logback.default.xml [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ scm-webapp --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 150 source files to /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/classes [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.metainf_services.AnnotationProcessorImpl' less than -source '1.7' [INFO] [INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ scm-webapp --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-dependency-plugin:2.4:list (default) @ scm-webapp --- [INFO] [INFO] --- smp-maven-plugin:1.0.0-alpha-2:copy-core-plugins (default) @ scm-webapp --- [INFO] [INFO] --- maven-antrun-plugin:1.6:run (repack) @ scm-webapp --- [INFO] Executing tasks

main: [unzip] Expanding: /home/krishna/.m2/repository/com/sun/jersey/contribs/jersey-guice/1.18.2/jersey-guice-1.18.2.jar into /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/tmp/jersey-guice [copy] Copying 1 file to /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/tmp/jersey-guice/META-INF [zip] Building zip: /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/dependency-rewrite/WEB-INF/lib/jersey-guice-1.18.2-gfcdifix.jar [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ scm-webapp --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ scm-webapp --- [INFO] Not compiling test sources [INFO] [INFO] <<< jetty-maven-plugin:9.2.10.v20150310:run (default-cli) < test-compile @ scm-webapp <<< [INFO] [INFO] --- jetty-maven-plugin:9.2.10.v20150310:run (default-cli) @ scm-webapp --- [INFO] Logging initialized @9239ms [INFO] Configuring Jetty for project: scm-webapp [INFO] webAppSourceDirectory not set. Trying src/main/webapp [INFO] Reload Mechanic: automatic [INFO] Classes = /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/classes [INFO] Configuring Jetty from xml configuration file = /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/src/main/conf/jetty.xml [INFO] Context path = /scm [INFO] Tmp directory = /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/target/tmp [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] web.xml file = file:/home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = /home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/src/main/webapp [INFO] jetty-9.2.10.v20150310 2018-03-19 16:30:18.196 [main] DEBUG sonia.scm.HttpSessionListenerHolder - create instance of sonia.scm.HttpSessionListenerHolder [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@79374f2d{/scm,file:/home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/src/main/webapp/,STARTING}{file:/home/krishna/Krishna/newrepo/scmproject/scm-work/scm-webapp/src/main/webapp/} sonia.scm.plugin.PluginException: no core plugin index found at sonia.scm.boot.BootstrapContextListener.readCorePluginIndex(BootstrapContextListener.java:307) at sonia.scm.boot.BootstrapContextListener.contextInitialized(BootstrapContextListener.java:151) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534) at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357) at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:498) 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) [WARNING] !RequestLog [INFO] Started ServerConnector@ccd075b{HTTP/1.1}{0.0.0.0:8081} [INFO] Started @11593ms [INFO] Started Jetty Server

Comments (2)

  1. Log in to comment