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

Symbol 'type scala.annotation.nowarn' is missing from the classpath #30018

Closed
patriknw opened this issue Feb 10, 2021 · 2 comments
Closed

Symbol 'type scala.annotation.nowarn' is missing from the classpath #30018

patriknw opened this issue Feb 10, 2021 · 2 comments

Comments

@patriknw
Copy link
Member

When compiling an application project with latest Akka (2.6.12+11-b41d6a0c) I see the following:

Symbol 'type scala.annotation.nowarn' is missing from the classpath.
[error] This symbol is required by ' <none>'.
[error] Make sure that type nowarn is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
[error] A full rebuild may help if 'Eventsourced.class' was compiled against an incompatible version of scala.annotation.

same after clean

Akka compiled with Scala 2.12.13.
Application compiled with Scala 2.12.12

It disappears when changing scalaVersion in the application to 2.12.13.

I guess this is because of the Scala 2.12.12 -> 2.12.13 update in Akka.

Probably nothing we can/should do aside from mentioning in release notes of Akka 2.6.13.

cc @lukas-ryt

@patriknw
Copy link
Member Author

Closing without action, but we should mention it in release notes.

@patriknw
Copy link
Member Author

Perhaps this is a problem with Scala 2.13.4 also? I don't think I tried the same project with that. Noticed that something related was fixed in Scala 2.13.5 scala/scala#9491

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

No branches or pull requests

1 participant