First of all, Currently normal release of freemarker will not run on GAE as it has dependency on javax.swing package If you solve the problem you just mentioned, sooner or later you will get other problems
See this http://solveme.wordpress.com/2009/12/25/freemarker-sucks-it-has-dependency-on-javax-swing/ You will have to download a GAE compatible version of freemarker. see above link for download link. Thanks SN On Tue, Apr 27, 2010 at 8:31 AM, Phuong Nguyen <[email protected]> wrote: > Hi guys: > I'm having spring-mvc + apache tiles + freemarker in my Gae > Application. > Everything works fine in my local machine after several nightmare of > trying to figuring out the appropriate version of apache tiles to use. > > I can recall that I had it successfully run on the cloud few months > ago (when the latest version of sdk is still 1.3.1) > > Funny thing is that, after several improvements and adaptation, I'm > now at 1.3.3.1 and my app work fine on local server. However, when I > upload it onto the cloud, here is what I got: > > java.lang.VerifyError: (class: freemarker/ext/jsp/ > FreeMarkerJspApplicationContext, method: <init> signature: ()V) > Incompatible argument to function > at > com.google.appengine.runtime.Request.process-5cb3cd85ccb06a68(Request.java) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:109) > at freemarker.ext.jsp.FreeMarkerJspFactory21.class$ > (FreeMarkerJspFactory21.java:13) > at > > freemarker.ext.jsp.FreeMarkerJspFactory21.<clinit>(FreeMarkerJspFactory21.java: > 12) > at > > freemarker.ext.jsp.FreeMarkerPageContext21.<clinit>(FreeMarkerPageContext21.java: > 29) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:109) > at > freemarker.ext.jsp.PageContextFactory.<clinit>(PageContextFactory.java: > 26) > at > freemarker.ext.jsp.TagTransformModel.getWriter(TagTransformModel.java: > 99) > at freemarker.core.Environment.visit(Environment.java:286) > at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) > at freemarker.core.Environment.visit(Environment.java:210) > at freemarker.core.MixedContent.accept(MixedContent.java:92) > at freemarker.core.Environment.visit(Environment.java:210) > at freemarker.core.Environment.process(Environment.java:190) > at freemarker.template.Template.process(Template.java:237) > at > freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java: > 452) > at > freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java: > 391) > > I'm dying. How on earth? I would probably get fired tomorrow. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
