[ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=comments#action_12433340 ] Mario Ivankovits commented on TOMAHAWK-502: -------------------------------------------
Please do not mix your problems in one jira issue, instead post on the user mailinglist. The both "no context init ...." messages are infos, nothing more, nothing less. You cann configure them in your web.xml or just ignore them. The Serialization message is, that - maybe - you use saveState? and point to bean which holds a reference to the HtmlDataScroller. This makes no sense. One solution can be to put all the data you whis to save in an extra bean and use injection (managed-propert in faces-config.xml) to get access to it. You than can point to this "data" bean in saveState and you'll be fine. For sure, even in this data bean you cant have references to a component. Ciao, Mario > HtmlBufferResponseWriterWrapper NoClassDefFoundError > ---------------------------------------------------- > > Key: TOMAHAWK-502 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-502 > Project: MyFaces Tomahawk > Issue Type: Bug > Affects Versions: 1.1.3 > Environment: Eclipse 3.1.2 Tomcat 5.5.17 > Reporter: Maximiliano Carrizo > > I have a web app. that was working OK with myfaces core 1.1.3 and tomahawk > 1.1.1. When I've replaced tomahawk to the latest version ( 1.1.3 ) it throws > the following exception: > java.lang.NoClassDefFoundError: > org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) > at java.lang.Class.getConstructor0(Unknown Source) > at java.lang.Class.newInstance0(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at > org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:274) > at > org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:265) > at > org.apache.myfaces.config.FacesConfigurator.configureLifecycle(FacesConfigurator.java:652) > at > org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:144) > at > org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66) > at > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) > at > org.apache.catalina.core.StandardService.start(StandardService.java:450) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:709) > at org.apache.catalina.startup.Catalina.start(Catalina.java:551) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) > I know that HtmlBufferResponseWriterWrapper class changed of package, but i > cant control the exception because it happens in myfaces core classes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
