0

I have the code shown here http://scastie.org/10156

report the error

when running sbt 0.13.8
plugin assembly
I get
[error] /home/xx/workspace/sync-hsae-middleware/src/test/scala/com/example/MyServiceSpec.scala:8: not found: type MyService
[error] class MyServiceSpec extends Specification with Specs2RouteTest with MyService {
[error]                                                                     ^
[error] /home/xx/workspace/sync-hsae-middleware/src/test/scala/com/example/MyServiceSpec.scala:14: not found: value myRoute
[error]       Get() ~> myRoute ~> check {
[error]                ^
[error] two errors found
[error] (test:compileIncremental) Compilation failed
[error] Total time: 5 s, completed 10/06/2015 15:00:15

*/

I can't figure out what is the issue because when I use sbt run it works well.

Andy
  • 55
  • 1
  • 12
  • The error is not part of the code snippet you provided: it happens in the unit test `/src/test/scala/com/example/MyServiceSpec.scala`, where very likely an import is missing. – Svend Jun 12 '15 at 07:21
  • Thank you, I couldn't see that I was looking at the wrong file. The other fail didn't have the import for the package. Thanks for the help. – Andy Jun 12 '15 at 13:08

0 Answers0