You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Maximiliano Carrizo (JIRA)" <de...@myfaces.apache.org> on 2006/06/22 23:46:29 UTC

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

HtmlBufferResponseWriterWrapper NoClassDefFoundError
----------------------------------------------------

         Key: TOMAHAWK-502
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-502
     Project: MyFaces Tomahawk
        Type: Bug

    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


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

Posted by "eric (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=comments#action_12433066 ] 
            
eric commented on TOMAHAWK-502:
-------------------------------

I did it, and it works....... (thank you Maximiliano Carrizo)
But I have an other problem when I run the application : 

09:48:27,781 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache
.myfaces.renderkit.html.util.DefaultAddResource
09:48:27,781 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
.....
......
09:48:31,812 ERROR [JspStateManagerImpl] Exiting serializeView - Could not serialize state: org.apache.myfaces.custom.datascroller.HtmlDataScroller
java.io.NotSerializableException: org.apache.myfaces.custom.datascroller.HtmlDataScroller


What is this problem of serialization ?

> 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

        

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

Posted by "eric (JIRA)" <de...@myfaces.apache.org>.
    [ 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

        

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

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=all ]

Mario Ivankovits resolved TOMAHAWK-502.
---------------------------------------

    Resolution: Invalid

> 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

        

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

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
    [ 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

        

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

Posted by "Maximiliano Carrizo (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=comments#action_12432859 ] 
            
Maximiliano Carrizo commented on TOMAHAWK-502:
----------------------------------------------

Eric:

   I've solve this problem:

        - Installing nightly version of tomahawk 1.1.5 plus myfaces core and impl 1.1.5
        - Changing faces-config line with                <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>
        - Changing  web.xml with
             <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        
Good luck !!!



> 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

        

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

Posted by "Maximiliano Carrizo (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-502?page=comments#action_12433107 ] 
            
Maximiliano Carrizo commented on TOMAHAWK-502:
----------------------------------------------

Eric:

    I can't tell you where is the problem... but i can tell you where I think is NOT the problem... I have the same two messages ADD_RESOURCE_CLASS and CHECK_EXTENSIONS_FILTER in my app and it works fine...

       Good luck again !

> 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