On Tue, Jul 21, 2009 at 9:55 PM, Naftoli Gugenheim <[email protected]>wrote:
> > Now a direct call to ResourceServer does work, but the template is still > not being found. Any ideas? Templates are looked up simply by using the ServletContainer Context's resource locator. I've expanded the lookup process so that stuff in JAR files will be found. I'll commit the changes up in 10 minutes or so. > > > ------------------------------------- > Naftoli Gugenheim<[email protected]> wrote: > > In order to diagnose why my template isn't getting loaded from its jar, I'm > calling the following in a snippet: > ResourceServer.findResourceInClasspath(S.request.open_!, "tableeditor" :: > "default.html" :: Nil) > When I navigate to the snippet I see: > Exception occurred while ... > Message: java.io.FileNotFoundException: JAR entry > toserve/tableeditor/default.html not found in (name of the jar file) > > sun.net.www.protocol.jar.JarURLConnect.connect(JarURLConnection.java:122) > It certainly looks to me like the file is there in the jar. Besides, if it > wasn't, how would it know which jar it's not in? What does this mean? > Thanks! > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
