I'm getting the error too :( rotten boot On Wed, Oct 8, 2008 at 4:47 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote:
> > I figured this out (sort of). The problem was in the master pom.xml. Not > sure what it was, though. > > Chas. > > Charles F. Munat wrote: > > I seem to have lost my boot. > > > > I copied the JPADemo out of the liftweb source code and changed the poms > > and everything else to make it the basis for a new app I'm trying to get > > online this week. > > > > Everything compiles just fine, and the site works (sort of), but the > > Boot class fails to load. Here is the error: > > > > ERROR - Failed to Boot > > java.lang.ClassNotFoundException: bootstrap.liftweb.Boot > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:316) > > ... > > > > Here's the stripped down Boot class: > > > > package bootstrap.liftweb > > > > import java.util.Locale > > > > import javax.servlet.http.HttpServletRequest > > > > import net.liftweb.util.{Can,Empty,Full,LoanWrapper,LogBoot} > > import net.liftweb.http._ > > import net.liftweb.sitemap._ > > import net.liftweb.sitemap.Loc._ > > import org.wsbg.model._ > > import S.? > > > > class Boot { > > def boot { > > > > // where to search snippet > > LiftRules.addToPackages("org.myapp") > > > > } > > } > > > > Everything has been changed from com.foo.jpademo to org.myapp > > appropriately. Where can I look to determine why Boot isn't found? > > > > Thanks, > > Chas. > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---