You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "eric (JIRA)" <de...@myfaces.apache.org> on 2006/09/06 15:40:25 UTC

[jira] Commented: (TOMAHAWK-502) HtmlBufferResponseWriterWrapper NoClassDefFoundError

    [ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=comments#action_12432845 ] 
            
eric commented on TOMAHAWK-502:
-------------------------------

I have the same problem.
This explains how to go from 1.1.1 to 1.1.3
http://wiki.apache.org/myfaces/From_1%2e1%2e1_to_1%2e1%2e3_with_Jboss

It also indicates possible errors like : 
#java.lang.NoClassDefFoundError: org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper
=>
The class exist in the Tomahawk.jar, but has changed package from org/apache/myfaces/custom/buffer/ to org\apache\myfaces\renderkit\html\util.

They didn't get the solution



> 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