Hi, Sorry to be re-sending this email but unfortunately I am struggling to resolve this problem. I managed to figure out why I was getting the 404 but I;m back to square one with regards to the no class def exception. It seems to be related to when I use freemarker jsp tag support. Can any one help?
Cheers Amin On Sun, May 17, 2009 at 10:27 AM, Amin Mohammed-Coleman <[email protected]>wrote: > Hi > Not sure what;s happened now but I'm getting a different exception now. > I'm getting a 404 when I try to access a htm (spring controller). I get no > errors. It seems as though when I use a more complex tile definition which > includes a header, footer and body I get 404. Has anyone else experienced > this issue? > > Cheers > Amin > > > On Sat, May 16, 2009 at 6:44 PM, [email protected] <[email protected]>wrote: > >> Hi All >> >> After my unsuccessfully deploy to the engine I decided to start >> again. So I created a simple web app using spring mvc, freemarker and >> tiles. My simple test worked when I used a Controller to point to a >> simple tile. However when I tried to send the result of the >> controller to a layout page where there are footer, header and body I >> get the following exception: >> >> Nested in org.springframework.web.util.NestedServletException: Handler >> processing failed; nested exception is java.lang.NoClassDefFoundError: >> Could not initialize class freemarker.ext.jsp.PageContextFactory: >> java.lang.NoClassDefFoundError: Could not initialize class >> freemarker.ext.jsp.PageContextFactory >> at freemarker.ext.jsp.TagTransformModel.getWriter >> (TagTransformModel.java:100) >> at freemarker.core.Environment.visit(Environment.java:285) >> at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) >> at freemarker.core.Environment.visit(Environment.java:209) >> at freemarker.core.MixedContent.accept(MixedContent.java:92) >> at freemarker.core.Environment.visit(Environment.java:209) >> at freemarker.core.Environment.process(Environment.java:189) >> at freemarker.template.Template.process(Template.java:237) >> at freemarker.ext.servlet.FreemarkerServlet.process >> (FreemarkerServlet.java:458) >> at freemarker.ext.servlet.FreemarkerServlet.doGet >> (FreemarkerServlet.java:397) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) >> at >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: >> 487) >> >> >> I have added the freemaker library to the application. Is there a way >> to check if the jar in the WEB-INF/lib of the war deployed to the >> engine. >> >> Any help would be appreciated. >> >> Cheers >> Amin > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
