Re: OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0

Splash Forums Rewrite Users OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0 Re: OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0

#23341

bennyBoy
Participant

Hi again. I finally found the time to build a small example project. The pom.xml only consists of MyFaces, the Tomcat servlet API and Rewrite. Two html files, 1 controller and the config provider. I don’t know why but i get a different exception when using 1.1.0 now:

Exception starting filter OCPsoft Rewrite Filter
java.lang.NoSuchMethodError: org.ocpsoft.rewrite.config.ConfigurationBuilder.addRule(Lorg/ocpsoft/rewrite/config/Rule;)Lorg/ocpsoft/rewrite/config/ConfigurationBuilder;

I then changed the syntax according to your last post, which works for 1.0.5, but fails again in 1.1.0 with the said exception. I attached the .war and the exported eclipse project with the source files: