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

ScctPlugin class not found for scala 2.9.2, sbt 0.12 #46

Open
jastakhova opened this issue Mar 18, 2013 · 2 comments
Open

ScctPlugin class not found for scala 2.9.2, sbt 0.12 #46

jastakhova opened this issue Mar 18, 2013 · 2 comments

Comments

@jastakhova
Copy link

I tried to start scct-sbt with scala 2.9.2, sbt 0.12. I put

resolvers += Classpaths.typesafeResolver
resolvers += "scct-github-repository" at "http://mtkopone.github.com/scct/maven-repo"
addSbtPlugin("reaktor" % "sbt-scct" % "0.2-SNAPSHOT")

Resolving was ok - sbt downloaded both scct and scct-sbt and they are added to classpath:

[debug]     /Users/grrrl/projects/<...>/project/target/scala-2.9.2/sbt-0.12/classes:/Users/grrrl/.ivy2/cache/scala_2.9.2/sbt_0.12/reaktor/sbt-scct/jars/sbt-scct-0.2-SNAPSHOT.jar:/Users/grrrl/.ivy2/cache/reaktor/scct_2.9.2/jars/scct_2.9.2-0.2-SNAPSHOT.jar:

But loading Build.scala fails with "not found" error for class ScctPlugin:

[error] /Users/grrrl/projects/<...>/project/NavyBuild.scala:35: not found: value ScctPlugin
[error]     .settings (ScctPlugin.instrumentSettings: _*)
[error]                ^
@bdarfler
Copy link

Seeing the same issue for me as well.

@namiazad
Copy link

namiazad commented Apr 8, 2013

I had the same issue. My Build.scala file has package statement. I removed the package and it is solved!

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

No branches or pull requests

3 participants