ide - Eclipse Scala IDE 中的 Scala-Lift 项目错误

标签 ide scala lift

我安装了Scala IDE for Eclipse ,而且似乎工作正常。所以现在我正在尝试导入一个 Lift 项目(特别是从 Stax application platform 自动生成的 Lift 项目),现在我的工作区出现四个错误:

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)

最佳答案

提出此类问题的最佳地点是 Scala IDE user邮件列表。

关于ide - Eclipse Scala IDE 中的 Scala-Lift 项目错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3245715/

相关文章:

ruby-on-rails - 开发 CRUD Web 应用程序时的典型瓶颈是什么?

java - Eclipse 中带删除线的方法意味着什么?

python - 使用 VIM 完成内省(introspection)代码? ...或其他具有此功能的轻量级编辑器?

php - 具有特定功能的 IDE

parsing - 轻松将 Key=Value 对的字符串解析为 Scala 案例类

scala - 在 Scala [2.11.6] 中,如何从一组有序的 Longs 创建一个惰性对象流

使用 SBT 在 Lift 中调试和登录

javascript - 从静态 javascript 中提升 session 有效的 ajax 回调

ide - 为什么源代码是纯文本的?

scala - 为什么在reduce中使用减法结果不一致?