import net.liftweb.wizard fails

63 views
Skip to first unread message

Maarten Koopmans

unread,
Nov 22, 2010, 6:19:13 AM11/22/10
to Lif...@googlegroups.com
Hi,

I am trying to import net.liftweb.wizard._ , but I get (consistently):

>> value wizard is not a member of package net.liftweb

Scala 2.8.0, Lift 2.2-M1

Any clues?

Best, Maarten

Daniel Hobi

unread,
Nov 22, 2010, 7:06:02 AM11/22/10
to Lift
Maarten,

have you included the necessary dependency?

Maven:
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-wizard_2.8.0</artifactId>
<version>2.2-M1</version>
</dependency>

or SBT:
... "net.liftweb" %% "lift-wizard_2.8.0" % "2.2-M1"

Daniel

On 22 Nov., 12:19, Maarten Koopmans <maarten.koopm...@gmail.com>
wrote:

Maarten Koopmans

unread,
Nov 22, 2010, 8:04:24 AM11/22/10
to lif...@googlegroups.com
Duh! That was it. I included it as 

"net.liftweb" %% "lift-wizard" % liftVersion % "compile->default",


.... works like a charm. Thanks!

--Maarten

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.


Bud Weiser

unread,
Apr 10, 2012, 12:05:35 PM4/10/12
to lif...@googlegroups.com
Its maybe not detailed enough for users who are new into it.
Better:
Go to project/build/LiftProject.scala 
and add this lines "net.liftweb" %% "lift-wizard" % liftVersion % "compile->default" like down there
 
import sbt._

class LiftProject(info: ProjectInfo) extends DefaultWebProject(info) {
  val liftVersion = "2.2"

  // uncomment the following if you want to use the snapshot repo
  // val scalatoolsSnapshot = ScalaToolsSnapshots

  // If you're using JRebel for Lift development, uncomment
  // this line
  // override def scanDirectories = Nil

  override def libraryDependencies = Set(
    "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
    "org.mortbay.jetty" % "jetty" % "6.1.22" % "test->default",
    "junit" % "junit" % "4.5" % "test->default",
    "ch.qos.logback" % "logback-classic" % "0.9.26",
    "org.scala-tools.testing" %% "specs" % "1.6.6" % "test->default",
"net.liftweb" %% "lift-wizard" % liftVersion % "compile->default" // here you go
  ) ++ super.libraryDependencies
}
 
 
Reply all
Reply to author
Forward
0 new messages