If your root package is "com.foo" and you've got a line in Boot: LiftRules.addToPackages("com.foo") then the Misc class has to live in com.foo.snippet to be found by Lift.
On Thu, Sep 11, 2008 at 10:37 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > I copied the Misc snippet over from the example, changed the package and > import statements to fit my app, and created a users/index page. > > <lift:surround with="default" at="content"> > <a href='/simple/add'>Add a User</a> > <table width="90%"> > <lift:Misc.users /> > </table> > </lift:surround> > > The app builds and runs in Jetty, but when I go to the users/index page > I get: > > <a href='/simple/add'>Add a User</a> > <table width="90%"> > > </table> > > Not sure what happened to the Users table. > > The Jetty output says this: > > Snippet Failure: SnippetFailure(/users/ -> ParsePath(List(users, > index),,true,true),Full(Misc.users),Class Not Found) > > Any ideas as to which class it's not finding and why? Is there something > else I need to post? > > Chas. > > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---