noclassdeffounderror - Security issues after upgrading to Spring 3.2.8 -
i upgraded spring 3.0 spring 3.2.8 , after servlet creating pdf (jasper) crash giving security error messages.
my spring config:
<security:http auto-config="true"> <security:form-login authentication-success-handler-ref="authsuccesshandler" login-page="/login.faces" login-processing-url="/loginprocess" authentication-failure-url="/login.faces?login_error=1" /> <security:intercept-url pattern="/login.faces" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/resources/images/**" access="is_authenticated_anonymously" /> <security:intercept-url pattern="/resources/css/main.css" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/resources/css/login.css" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/logout.faces" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/api/rest/**" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/openfacesresources/**" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/primefaces_resource/**" access="is_authenticated_anonymously"/> <security:intercept-url pattern="/module/dsl/binding-def/**" access="is_authenticated_anonymously" /> <security:intercept-url pattern="/module/dsl/validation" access="is_authenticated_anonymously" /> <security:intercept-url pattern="/**" access="role_authenticated" /> <security:intercept-url pattern="/webservice/ddigenerator" access="role_authenticated"/> <security:logout logout-url="/logoutprocess" success-handler-ref="logoutsuccesshandler"/> </security:http>
below stack error message:
java.lang.classcastexception: java.lang.noclassdeffounderror cannot cast java.lang.exception @ org.openfaces.util.resourcefilter.dofilter(resourcefilter.java:105) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:330) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.invoke(filtersecurityinterceptor.java:118) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.dofilter(filtersecurityinterceptor.java:84) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.access.exceptiontranslationfilter.dofilter(exceptiontranslationfilter.java:113) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.session.sessionmanagementfilter.dofilter(sessionmanagementfilter.java:103) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.anonymousauthenticationfilter.dofilter(anonymousauthenticationfilter.java:113) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.servletapi.securitycontextholderawarerequestfilter.dofilter(securitycontextholderawarerequestfilter.java:154) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.savedrequest.requestcacheawarefilter.dofilter(requestcacheawarefilter.java:45) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.abstractauthenticationprocessingfilter.dofilter(abstractauthenticationprocessingfilter.java:199) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.logout.logoutfilter.dofilter(logoutfilter.java:110) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.context.securitycontextpersistencefilter.dofilter(securitycontextpersistencefilter.java:87) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:192) @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:160) @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:343) @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:260) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.springframework.orm.hibernate3.support.opensessioninviewfilter.dofilterinternal(opensessioninviewfilter.java:232) @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) @ org.mortbay.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1212) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:399) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:182) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:766) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:450) @ org.mortbay.jetty.handler.contexthandlercollection.handle(contexthandlercollection.java:230) @ org.mortbay.jetty.handler.handlercollection.handle(handlercollection.java:114) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:326) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:542) @ org.mortbay.jetty.httpconnection$requesthandler.headercomplete(httpconnection.java:928) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:549) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:212) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:404) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:410) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:582)
any idea?
Comments
Post a Comment