bad symbolic reference.A signature in package.class refers to term shapeless in package which

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章