myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svilen Ivanov" <svilen.iva...@gmail.com>
Subject How to disable Freemarker from current Sandbox?
Date Wed, 25 Jul 2007 12:13:25 GMT
I've just upgraded to latest Myfaces/Tomahawk/Sandbox and I noticed
that when JSF application starts there is exception that Freemarker
cannot be found. I don't intend to use it and I wish to disable
support for freemarker and suppress this error.

Here is the error:

[System][ERROR] Class :
org.apache.myfaces.renderkit.html.ext.HtmlOutputTextRenderer not
found.
java.lang.NoClassDefFoundError: freemarker/template/TemplateException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:277)
        at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:268)
        at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:754)
        at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:149)
        at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
        at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)


-- 
Svilen Ivanov
http://svilen-online.blogspot.com

There is no dark side of the moon really.
Matter of fact it's all dark.

Mime
View raw message