Reply To: Pretty & PrimeFaces FileUpload

Splash Forums PrettyFaces Users Pretty & PrimeFaces FileUpload Reply To: Pretty & PrimeFaces FileUpload

#25708

brasmouk
Participant

I added

com.ocpsoft:prettyfaces-jsf2:3.3.3
org.ocpsoft.rewrite:rewrite-servlet: 2.0.9.Final
org.ocpsoft.rewrite:rewrite-config-prettyfaces: 2.0.9.Final

and I configure web.xml

<filter>
<filter-name> OCPsoft Rewrite Filter </ filter-name>
<filter-class> org.ocpsoft.rewrite.servlet.RewriteFilter </ filter-class>
<async-supported> true </ async-supported>
</ filter>

<filter-mapping>
<filter-name> OCPsoft Rewrite Filter </ filter-name>
<url-pattern> / * </ url-pattern>
<dispatcher> FORWARD </ dispatcher>
<dispatcher> REQUEST </ dispatcher>
<dispatcher> INCLUDE </ dispatcher>
<dispatcher> ASYNC </ dispatcher>
<dispatcher> ERROR </ dispatcher>
</ filter-mapping>

but I get the following error:


ERROR [io.undertow.request] (default task-3) Servlet request failed HttpServerExchange{ GET /ice-web/pages/public/login.xhtml}: java.lang.NoSuchMethodError: com.ocpsoft.pretty.faces.config.reload.PrettyConfigReloader.reloadIfNecessary(Ljavax/servlet/ServletContext;)V
	at org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteLifecycleListener.beforeInboundLifecycle(PrettyFacesRewriteLifecycleListener.java:51) [rewrite-config-prettyfaces-2.0.9.Final.jar:2.0.9.Final]
	at org.ocpsoft.rewrite.prettyfaces.PrettyFacesRewriteLifecycleListener.beforeInboundLifecycle(PrettyFacesRewriteLifecycleListener.java:34) [rewrite-config-prettyfaces-2.0.9.Final.jar:2.0.9.Final]
	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:175) [rewrite-servlet-2.0.9.Final.jar:2.0.9.Final]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:57) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:207) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:150) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:157) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:39) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.security.impl.FormAuthenticationMechanism.sendChallenge(FormAuthenticationMechanism.java:156) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:331) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:350) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.access$300(SecurityContextImpl.java:315) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17]
	at io.unde

  • This reply was modified 8 years ago by  brasmouk.
  • This reply was modified 8 years ago by  brasmouk.