java遇到的错误
来源:互联网 发布:微信授权登录demo源码 编辑:程序博客网 时间:2024/04/30 00:02
Acegi中jdk1。5版本会出现 cache.put(element); unhandled exception type cacheException 在1。4版本中没有问题 但是出现这样的错误Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contactManagerSecurity' defined in ServletContext resource [/WEB-INF/applicationContext-basic.xml]: Can't resolve reference to bean 'authenticationManager' while setting property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Can't resolve reference to bean 'daoAuthenticationProvider' while setting property 'providers[0]'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuthenticationProvider' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Can't resolve reference to bean 'userCache' while setting property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [net.sf.ehcache.Cache] to required type [net.sf.ehcache.Ehcache] for property 'cache'] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Can't resolve reference to bean 'daoAuthenticationProvider' while setting property 'providers[0]'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuthenticationProvider' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Can't resolve reference to bean 'userCache' while setting property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [net.sf.ehcache.Cache] to required type [net.sf.ehcache.Ehcache] for property 'cache'] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuthenticationProvider' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Can't resolve reference to bean 'userCache' while setting property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [net.sf.ehcache.Cache] to required type [net.sf.ehcache.Ehcache] for property 'cache'] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-security-acegi.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [net.sf.ehcache.Cache] to required type [net.sf.ehcache.Ehcache] for property 'cache'] PropertyAccessExceptionsException (1 errors)却还能正常使用,不知道为什么 好像是配置文件冲突了 2、 Servlet /Spring-WebMvc threw load() exception org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null". jar包的冲突,spring-1.2.6.jar和spring.jar出现在一个war的目录中 spring的jar包版本要2以上则没有问题。 3 我的jsp页面在运行时出现这个错误: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jsp1/core cannot be resolved in either web.xml or the jar files deployed with this application 确保在你的web-inf/lib下有 这2个包: jstl.jar standard.jar 还有,如果是jstl 1.0版本的话 应该是 <%@ taglib prefix = "c" uri = "http://java.sun.com/jstl/core" %> 如果是1.1的话 <%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %> 4、Cannot find ActionMappings or ActionFormBeans collection、没有找到对应的Action可能是配置问题或者调用方式问题
- java遇到的错误
- java遇到的错误
- java Annotation 遇到的错误
- java 个人遇到的错误
- java日志输出时遇到的错误
- java 项目遇到的各种错误
- Java EE编程中遇到的错误
- 做java项目时遇到的错误
- 自己遇到的java.lang.NoClassDefFoundError错误
- java学习中遇到的错误
- 运行Java web时遇到的错误
- Java运行时遇到的一些错误
- java编写遇到的常见错误解决方法
- 【学习Android遇到的错误】Android 开发遇到 java.lang.NoClassDefFoundError 错误
- java一个wsdd文件时遇到的错误的解决办法
- 初试Java遇到的愚蠢的错误集
- 初试Java遇到的愚蠢的错误集
- Java中遇到的超级愚蠢的错误
- 什么是Web服务
- sar命令详解
- SQL存储过程生成流水号
- 在php中让用户自定义时区 正确显示当前时间
- js-55个经典代码
- java遇到的错误
- Java面试100题
- 什么是窗体身份验证
- 值得记住的日子
- ……耳环奇遇记---关于耳环的故事……
- 什么是Windows的身份验证
- 我很开心
- 风云诀动画版快上映了
- 1,2,3,4,5输出