org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatc

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 11:13:33
org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatc

org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatc
org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException:Failed to convert property value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session'; nested exception is java.lang.IllegalArgumentException:Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session':no matching editors or conversion strategy found
配置邮件时出现以上错误,都是javax.mail.Session为什么没法转换,

org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatc
是不是有两个版本的.jar在里面.

org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested e org.springframework.core.jar和spring.jar 有什么区别 java.lang.IllegalStateException: BeanFactory not initialized or already closedat org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171) at org.springframework.context.s org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query 翻译:org.springframework.web.util.NestedServletException:Request processing failed; nested excepti org.springframework.orm.hibernate3.HibernateSystemException:ids for this class must be manually ass org.springframework.orm.hibernate3.HibernateQueryException: Employee is not mapped 我也遇到了这个 org.springframework.orm.hibernate3.HibernateTemplate中有处理占位符的函数吗?是哪个函数? org.springframework.orm-3.0.5.RELEASE.jar和spring.jar的区别/ ssh2框架整合 none none org.springframework.orm.hibernate4.SpringSessionContext这两个分别是什么意思? spring配置事物,放在weblogic启动报错,以下是部分报错信息org.springframework.beans.factory.CannotLoadBeanClassException:Error loading class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] for bean with name 'org spring配置sqlMapClient出错,错误如下:ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'sqlMapClient' defined in class pa org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatc At least one base package must be specified,这个是哪里出了问题,严重:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefin org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'jdbcDataSource' defined in class path resource [ApplicationContext.xml.xml]:Error setting property values; nested exception is org.springframework.beans.Pr 请问spring-aop-3.2.3.RELEASE.jar和之前的org.springframework.aop-3.2.3.RELEASE.jar一样吗 高分求教……org.hibernate.hql.ast.QuerySyntaxException:User is not mapped [from User]org.springframework.orm.hibernate3.HibernateQueryException:User is not mapped [from User]; nested exception is org.hibernate.hql.ast.QuerySyntaxException:User 在用myeclipse做sshWeb项目时配置后报“org.springframework.beans-3.0.5.RELEASE.jar has no source attachment”错误.