Re: [Lift] todo tutorial compile problem

2009-11-23 Thread David Pollak
What command line command did you use to create the project?

Is there a User.scala file in your model package/directory?

On Thu, Nov 19, 2009 at 9:42 PM, adamp adam.perrypellet...@gmail.comwrote:

 I'm brand new to Lift and Scala, but an old hand to Java.  I'm trying
 to work through the 'todo' example and get the following compile
 error.

 [INFO] excludes = []
 [INFO] Compiling 3 source files to C:\eclipse_workspaces\ws_riojas\todo
 \target\c
 lasses
 C:\eclipse_workspaces\ws_riojas\todo\src\main\scala\liftworkshop\model
 \ToDo.scal
 a:13: error: not found: value User
  object owner extends MappedLongForeignKey(this, User)
 ^
 C:\eclipse_workspaces\ws_riojas\todo\src\main\scala\liftworkshop\model
 \ToDo.scal
 a:13: error: wrong number of arguments for constructor Object: ()
 java.lang.Objec
 t
  object owner extends MappedLongForeignKey(this, User)
  ^
 two errors found
 [INFO]
 

 In java, I know exactly what this means and can usually figure it
 out.  But with Scala, I'm struggling.  The User object doesn't show up
 on the classpath and I'm wondering what jar/dependency I'm missing to
 get this to compile.

 Thanks in advance for any help.
 Adam

 --

 You received this message because you are subscribed to the Google Groups
 Lift group.
 To post to this group, send email to lift...@googlegroups.com.
 To unsubscribe from this group, send email to
 liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/liftweb?hl=.





-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

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




[Lift] todo tutorial compile problem

2009-11-22 Thread adamp
I'm brand new to Lift and Scala, but an old hand to Java.  I'm trying
to work through the 'todo' example and get the following compile
error.

[INFO] excludes = []
[INFO] Compiling 3 source files to C:\eclipse_workspaces\ws_riojas\todo
\target\c
lasses
C:\eclipse_workspaces\ws_riojas\todo\src\main\scala\liftworkshop\model
\ToDo.scal
a:13: error: not found: value User
 object owner extends MappedLongForeignKey(this, User)
 ^
C:\eclipse_workspaces\ws_riojas\todo\src\main\scala\liftworkshop\model
\ToDo.scal
a:13: error: wrong number of arguments for constructor Object: ()
java.lang.Objec
t
 object owner extends MappedLongForeignKey(this, User)
  ^
two errors found
[INFO]


In java, I know exactly what this means and can usually figure it
out.  But with Scala, I'm struggling.  The User object doesn't show up
on the classpath and I'm wondering what jar/dependency I'm missing to
get this to compile.

Thanks in advance for any help.
Adam

--

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