Seems more than your User class is not implemented or not visible. Is
it ? Does your model classes declare the same package ?

On Nov 20, 6:42 am, adamp <adam.perrypellet...@gmail.com> wrote:
> 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=.


Reply via email to