Hi,

i'm trying to use the statelessjsf addon (It's a addon developed by
industrieit from rudy but the link is currently offline) for my
application. In a basic sample application it works with myfaces (with some
modification) and mojarra.
Somehow in my real project, i get an exception when the addon is trying to
clone the viewroot:

java.lang.IllegalArgumentException: Can not set
org.codehaus.plexus.PlexusContainer field
org.codehaus.plexus.archiver.manager.DefaultArchiverManager.container to
org.codehaus.plexus.archiver.manager.DefaultArchiverManager
    at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
    at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
    at
sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:37)
    at
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:57)

This does only occur if i run the application within maven and jetty. On
Tomcat, no exception occurs.
Where does this Plexus stuff come from? Why is it in the view root?

Thanks and best regards
Thomas

Reply via email to