开发者

Configgy import fails in lift

开发者 https://www.devze.com 2023-02-23 03:04 出处:网络
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()

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

精彩评论

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