Skip to content

Compilation error when importing GenCodec in Scala 2.11 #75

Closed
@plokhotnyuk

Description

@plokhotnyuk

Got a following error here with v1.28.2:

[error] /home/travis/build/plokhotnyuk/jsoniter-scala/jsoniter-scala-benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/AVSystemCodecs.scala:6:8: Symbol 'term com.github.ghik' is missing from the classpath.
[error] This symbol is required by ' <none>'.
[error] Make sure that term ghik is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
[error] A full rebuild may help if 'SharedExtensions.class' was compiled against an incompatible version of com.github.
[error] import com.avsystem.commons.serialization.GenCodec
[error] 

Perhaps the cause is using of the com.github.ghik.silencer.silent annotation in GenCodec sources, and declaration the provided scope for the silencer-lib dependency:
http://search.maven.org/remotecontent?filepath=com/avsystem/commons/commons-macros_2.11/1.28.2/commons-macros_2.11-1.28.2.pom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions