3
我安裝了Scala IDE for Eclipse,它似乎工作正常。所以現在我試圖導入提升項目(特別是 - 從Stax application platform自動生成電梯項目),現在我在爲我的工作區四個錯誤:Eclipse中的Scala-Lift項目Scala IDE錯誤
value net is not a member of package <root> Boot.scala /rss2lj/src/scala/bootstrap/liftweb line [3..6] Scala Problem
在線路:
import _root_.net.liftweb.util._
import _root_.net.liftweb.http._
import _root_.net.liftweb.sitemap._
import _root_.net.liftweb.sitemap.Loc._
任何人都可以請幫助我嗎?
UPD:我發現一個discussion與基於maven的項目的解決方案,但我正在嘗試使用的項目不是基於maven的。
我得到的回答here,但在同一行發生新的錯誤:
error while loading Helpers, Scala signature Helpers has wrong version
expected: 5.0
found: 4.1 in /home/gleontiev/workspace/rss2lj/webapp/WEB-INF/lib/
lift-util-1.0.jar(net/liftweb/util/Helpers.class)
error while loading LiftRules, Scala signature LiftRules has wrong
version
expected: 5.0
found: 4.1 in /home/gleontiev/workspace/rss2lj/webapp/WEB-INF/lib/
lift-webkit-1.0.jar(net/liftweb/http/LiftRules.class)
error while loading Loc, Scala signature Loc has wrong version
expected: 5.0
found: 4.1 in /home/gleontiev/workspace/rss2lj/webapp/WEB-INF/lib/
lift-webkit-1.0.jar(net/liftweb/sitemap/Loc.class)
error while loading Menu, Scala signature Menu has wrong version
expected: 5.0
found: 4.1 in /home/gleontiev/workspace/rss2lj/webapp/WEB-INF/lib/
lift-webkit-1.0.jar(net/liftweb/sitemap/Menu.class)
該組實際幫助我解決了這個問題,謝謝。 – folone 2010-07-16 12:37:26