谁能帮我解决一下一下的我问题哦

来源:百度知道 编辑:UC知道 时间:2024/05/26 17:05:48
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy found
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception i

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
创建 'sessionFactory' bean时出的问题,xml里怎么写的?

还是说的详细一点吧,是在做什么的时候出错的,配置文件也贴出来吧。
我关注……

注意检查你数据源的配置

异常或赋值错误吧

重装吧

报异常?
能不能把你的源文件发过来啊
光看异常我头都大了