Scala-Lift project in Eclipse Scala IDE errors

女生的网名这么多〃 提交于 2019-12-07 14:24:32

问题


I installed Scala IDE for Eclipse, and it seems to be working okay. So now I'm trying to import a Lift project (specifically -- autogenerated Lift project from Stax application platform), and now I'm having four errors at my workspace:

value net is not a member of package <root> Boot.scala /rss2lj/src/scala/bootstrap/liftweb line [3..6] Scala Problem

At lines:

import _root_.net.liftweb.util._
import _root_.net.liftweb.http._
import _root_.net.liftweb.sitemap._
import _root_.net.liftweb.sitemap.Loc._

Could anyone please help me out with it?

UPD: I found a discussion with solution for maven-based projects, but the project, I'm trying to work with is not maven-based.

I got an answer here, but the new error occured on the same lines:

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)

回答1:


The best place to ask questions like this is on the Scala IDE user mailing list.



来源:https://stackoverflow.com/questions/3245715/scala-lift-project-in-eclipse-scala-ide-errors

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!