bad symbolic reference.A signature in package.class refers to term shapeless in package <root> which is not available.
It may be completely missing from the current classpath, or the version on the classpath might be incompatible with the version used when compiling package.class.
前段時間,用spray 和 akka構建scala的restful服務的過程中,遇到這個編譯問題:
根據提示,要麼shapeless沒引入,要麼就是引入的版本不匹配。
知道原因就好處理了,在spray官網document下找到版本依賴信息,然後調整引入正確的版本即可。
版本依賴對應:http://spray.io/project-info/current-versions/#current-versions