开发者

Configgy import fails in lift

I was trying to use Configgy for logging in my Lift project and I added

lazy val configgy = "net.lag" % "configgy" % "2.0.0" intransitive()

to my Plugins.scala. Then I import the needed classes like this:

import net.lag.logging.Logger

Then I use the Logger in Boot.scala. B开发者_开发知识库ut when I compile I get the following error:

value lag is not a member of package net

Why is that? The jar is on the classpath, everything should be in place. I'm using Scala 2.8.1, Lift 2.3 and SBT 2.7.5.


Can you try import _root_.net.lag.logging.Logger

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜