cas spring security3整合爆错

问题描述

org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'org.springframework.security.filterChainProxy':Cannotresolvereferencetobean'casProcessingFilter'whilesettingbeanproperty'filterChainMap'withkey[Rootbean:class[org.springframework.security.web.util.AnyRequestMatcher];scope=;abstract=false;lazyInit=false;autowireMode=0;dependencyCheck=0;autowireCandidate=true;primary=false;factoryBeanName=null;factoryMethodName=null;initMethodName=null;destroyMethodName=null]withkey[3];nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'casProcessingFilter'definedinServletContextresource[/WEB-INF/applicationContext-security.xml]:Initializationofbeanfailed;nestedexceptionisorg.springframework.beans.ConversionNotSupportedException:Failedtoconvertpropertyvalueoftype'cst.com.spring.security.UserDetailService'torequiredtype'org.springframework.security.core.userdetails.UserDetailsService'forproperty'userDetailsService';nestedexceptionisjava.lang.IllegalStateException:Cannotconvertvalueoftype[cst.com.spring.security.UserDetailService]torequiredtype[org.springframework.security.core.userdetails.UserDetailsService]forproperty'userDetailsService':nomatchingeditorsorconversionstrategyfound整合的时候出现这个错误,请教各教大虾解决办法

解决方案

解决方案二:
该回复于2011-03-03 08:36:17被版主删除
解决方案三:
查看一下你的配置文件'userDetailsService'在哪里有配置吗?
解决方案四:
查查'userDetailsService'在配置文件中有配置吗?

时间: 2024-08-31 11:51:29

cas spring security3整合爆错的相关文章

maven 整合springmvc spring myatis整合报错

问题描述 maven 整合springmvc spring myatis整合报错 java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]] at java.util.concurrent.FutureTask.

struts2 spring hibernate整合后报错

问题描述 struts2 spring hibernate整合后报错 在eclipse里面run on server之后,可以正确显示界面,但当填写表单点击按钮后出现了这个报错 Struts Problem Report Struts has detected an unhandled exception: Messages: 1.org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session; 2.Method

Spring hibernate 整合报的错

问题描述 Spring hibernate 整合报的错 SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name

spring mvc与struts 整合报错

问题描述 spring mvc与struts 整合报错 报错如下求帮忙,谢谢严重: Exception starting filter struts2Unable to load configuration. - action - file:/E:/java/eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/bishe/WEB-INF/classes/struts.xml:11:74 at org.apa

maven intellij-mybatis+spring mvc整合出的错误!

问题描述 mybatis+spring mvc整合出的错误! 10C 在myeclipse中的配置文件转到intellij用maven创建web项目就出现下面的异常.UserMapper.xml中的方法和UserMapper.java中的一样.改用原生JDBC连接没问题,就是不知道是什么错,请大神帮忙解答.在myeclipse中都没问题的,改maven就不行了,纳闷了. type Exception report message Request processing failed; nested

ssh整合报错,出现了空指针

问题描述 ssh整合报错,出现了空指针 18-Feb-2016 23:52:29.943 INFO [RMI TCP Connection(3)-127.0.0.1] org.apache.struts2.config.AbstractBeanSelectionProvider.info Choosing bean (struts) for (org.apache.struts2.dispatcher.DispatcherErrorHandler) 18-Feb-2016 23:52:43.05

求解:关于struts1+spring+ibatis整合的问题

问题描述 struts1+spring+ibatis整合,都配置好了,可是老报错说找不到方法struts1的配置<action name="timePlanForm" path="/TimePlan"type="org.springframework.web.struts.DelegatingActionProxy" scope="request"parameter="cmd"><forw

struts spring mybatis 整合出问题

问题描述 struts spring mybatis 整合出问题 报错: IOException parsing XML document from ServletContext resource [/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/applicationContext.xml] 配置文件appl

spring myeclipse-spring myeclipse 报错servlet

问题描述 spring myeclipse 报错servlet <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="ht