本文介绍了Eclipse Scala IDE中的Scala-Lift项目错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我安装了,它似乎工作正常。所以现在我正在尝试从导入Lift项目(特别是自动生成的Lift项目),以及现在我的工作空间有四个错误:

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

在行:

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 :我找到了以及针对基于maven的项目的解决方案,但该项目,我'我试图与之合作不是基于maven。

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)


推荐答案

提出这样的问题的最佳地点是邮件列表。

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

这篇关于Eclipse Scala IDE中的Scala-Lift项目错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 22:03