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

didn't work for me on 2.13.2 #36

Closed
johnynek opened this issue May 13, 2020 · 7 comments · Fixed by #42
Closed

didn't work for me on 2.13.2 #36

johnynek opened this issue May 13, 2020 · 7 comments · Fixed by #42

Comments

@johnynek
Copy link

I got (on acyclic 0.2.0)

[error] Unwanted cyclic dependency                                                                                      [67/1927]
[error] ## Exception when compiling 24 sources to /home/oscar/predictionmachine/hiona/core/target/scala-2.13/classes
[error] java.lang.NoSuchMethodError: scala.tools.nsc.CompilationUnits$CompilationUnit.echo(Lscala/reflect/internal/util/Position$
Ljava/lang/String;)V
[error] acyclic.plugin.PluginPhase$$anon$1.$anonfun$run$33(PluginPhase.scala:161)
[error] acyclic.plugin.PluginPhase$$anon$1.$anonfun$run$33$adapted(PluginPhase.scala:152)
[error] scala.collection.IterableOnceOps.foreach(IterableOnce.scala:553)
[error] scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:551)
[error] scala.collection.AbstractIterator.foreach(Iterator.scala:1279)
[error] acyclic.plugin.PluginPhase$$anon$1.$anonfun$run$28(PluginPhase.scala:152)
[error] scala.collection.IterableOnceOps.foreach(IterableOnce.scala:553)
[error] scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:551)
[error] scala.collection.AbstractIterable.foreach(Iterable.scala:920)
[error] scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:890)
[error] acyclic.plugin.PluginPhase$$anon$1.$anonfun$run$25(PluginPhase.scala:138)
[error] acyclic.plugin.PluginPhase$$anon$1.$anonfun$run$25$adapted(PluginPhase.scala:137)
[error] scala.collection.immutable.List.foreach(List.scala:333)
[error] acyclic.plugin.PluginPhase$$anon$1.run(PluginPhase.scala:137)
[error] scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1505)
...

when I downgraded to 2.13.0 it worked.

@darkfrog26
Copy link

Getting the same error

@darkfrog26
Copy link

2.13.1 works fine though

@lefou
Copy link
Member

lefou commented Oct 16, 2020

Doesn't work for 2.13.3 either.

@perok
Copy link

perok commented Dec 2, 2020

Same for 2.13.4.

@sven42
Copy link

sven42 commented Apr 25, 2021

Same for Scala 2.13.5

@fmv1992
Copy link

fmv1992 commented Jul 27, 2021

I came accross the same error on scala 2.13.4.

@darkfrog26
Copy link

This is one of the reasons I ultimately ended up writing my own JSON library: https://github.com/outr/fabric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants