I am trying to install a properly bundled(OSGi-fied) webapp which uses Spring security for authentication in Equinox (with Spring DM modules properly installed. All the dependent libraries are embedded within the WAR and the MANIFEST.MF references all libraries in Bundle-Classpath)
I get these class cast exceptions. Is this because the class weaving is not done properly? Any idea?
java.lang.ClassCastException: org.springframework.web.filter.CharacterEncodingFi lter cannot be cast to javax.servlet.Filter
java.lang.ClassCastException: org.springframework.web.filter.DelegatingFilterPro xy cannot be cast to javax.servlet.Filter