Back to the original question....

org.apache.myfaces.renderkit.html.util.HtmlBufferResponseWriterWrapper

is the new name of 

org.apache.myfaces.custom.buffer.HtmlBufferResponseWriterWrapper


HtmlBufferResponseWriterWrapper is the jar file of tomahawk-1.1.3.jar.


Did you change the SourceCodeServlet?


It should now be.

        <servlet>
                <servlet-name>SourceCodeServlet</servlet-name>
        
<servlet-class>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeSer
vlet</servlet-class>
        </servlet>


Are you sure you don't have an old jar file or an old tld file somewhere?
I would double check.

--Rick Hightower

-----Original Message-----
From: Rick [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 28, 2006 12:57 PM
To: 'MyFaces Discussion'
Subject: RE: NoClassDefFoundError:
org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper on server
startup.


Did you see this:
http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3

You need the following jar files:

myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
myfaces-shared-core-2.0.2.jar
myfaces-shared-impl-2.0.2.jar
myfaces-shared-tomahawk-2.0.2.jar
tomahawk-1.1.3.jar


At least this is what I have and it is working...




-----Original Message-----
From: Sloan, Noah M [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 28, 2006 11:33 AM
To: users@myfaces.apache.org
Subject: NoClassDefFoundError:
org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper on server
startup.

I'm trying to upgrade from MyFaces and Tomahawk 1.1.1 to 1.1.3. I only
replaced the myfaces-api, myfaces-impl and tomahawk jars.  I also changed
the extensions filter class to
org.apache.myfaces.webapp.filter.ExtensionsFilter.

When Tomcat starts up, I get the following error numerous times:
java.lang.NoClassDefFoundError:
org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper
        at
org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:2
79)
        at
org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:2
65)
        at
org.apache.myfaces.config.FacesConfigurator.configureLifecycle(FacesConfigur
ator.java:652)
        at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java
:144)
        at
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer
vletContextListener.java:66)
        at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(S
tartupServletContextListener.java:49)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3727)
...

Am I missing a jar?  Any idea where those classes are supposed to come from?




Reply via email to