Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13.0 is broken "org.eclipse.jgit.transport.sshd.SshdSessionFactory not a subtype" #469

Closed
eed3si9n opened this issue Jun 26, 2020 · 0 comments · Fixed by #471
Closed

Comments

@eed3si9n
Copy link
Member

eed3si9n commented Jun 26, 2020

Ref #459

steps

$ g8 scala/scala-seed.g8 --name=hello2

using 0.13.0.

problem

$ g8 scala/scala-seed.g8 --name=hello2
[info] resolving Giter8 0.13.0...
Exception in thread "main" java.util.ServiceConfigurationError: org.eclipse.jgit.transport.SshSessionFactory: 
Provider org.eclipse.jgit.transport.sshd.SshdSessionFactory not a subtype
	at java.util.ServiceLoader.fail(ServiceLoader.java:239)
stack trace
Provider org.eclipse.jgit.transport.sshd.SshdSessionFactory not a subtype
	at java.util.ServiceLoader.fail(ServiceLoader.java:239)
	at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.eclipse.jgit.transport.SshSessionFactory.loadSshSessionFactory(SshSessionFactory.java:42)
	at org.eclipse.jgit.transport.SshSessionFactory.<clinit>(SshSessionFactory.java:36)
	at giter8.JGitInteractor.<init>(GitInteractor.scala:45)
	at giter8.Runner.clone$1(Runner.scala:36)
	at giter8.Runner.$anonfun$run$5(Runner.scala:48)
	at scala.util.Either.flatMap(Either.scala:341)
	at giter8.Runner.$anonfun$run$4(Runner.scala:47)
	at scala.util.Either.flatMap(Either.scala:341)
	at giter8.Runner.run(Runner.scala:46)
	at giter8.Giter8.run(giter8.scala:33)
	at giter8.Giter8.run(giter8.scala:30)
	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 giter8.LauncherProcessor.call(LauncherMain.scala:114)
	at giter8.LauncherProcessor.virtuallyRun(LauncherMain.scala:88)
	at giter8.LauncherProcessor.process(LauncherMain.scala:38)
	at giter8.Runner.$anonfun$run$9(Runner.scala:51)
	at scala.util.Either.flatMap(Either.scala:341)
	at giter8.Runner.$anonfun$run$5(Runner.scala:48)
	at scala.util.Either.flatMap(Either.scala:341)
	at giter8.Runner.$anonfun$run$4(Runner.scala:47)
	at scala.util.Either.flatMap(Either.scala:341)
	at giter8.Runner.run(Runner.scala:46)
	at giter8.Runner.run(Runner.scala:72)
	at giter8.LauncherMain$.delayedEndpoint$giter8$LauncherMain$1(LauncherMain.scala:12)
	at giter8.LauncherMain$delayedInit$body.apply(LauncherMain.scala:9)
	at scala.Function0.apply$mcV$sp(Function0.scala:39)
	at scala.Function0.apply$mcV$sp$(Function0.scala:39)
	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
	at scala.App.$anonfun$main$1$adapted(App.scala:80)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at scala.App.main(App.scala:80)
	at scala.App.main$(App.scala:78)
	at giter8.LauncherMain$.main(LauncherMain.scala:9)
	at giter8.LauncherMain.main(LauncherMain.scala)
	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 coursier.bootstrap.launcher.a.a(Unknown Source)
	at coursier.bootstrap.launcher.Launcher.main(Unknown Source)

expectation

it works.

@eed3si9n eed3si9n changed the title 0.13.0 is broken 0.13.0 is broken "org.eclipse.jgit.transport.sshd.SshdSessionFactory not a subtype" Jun 26, 2020
eed3si9n added a commit to eed3si9n/giter8 that referenced this issue Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant