2 lax 2016 lax_2016 于 2016.04.06 17:11 提问

Springmvc项目运行出错

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDaoImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util' defined in file [D:\360安全浏览器下载\apache-tomcat-7.0.52-windows-x64\apache-tomcat-7.0.52\webapps\student\WEB-INF\classes\com\springTest\util\DBUtil.class]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.springframework.jdbc.core.simple.SimpleJdbcTemplate' to required type 'javax.sql.DataSource' for property 'simpleJdbcTemplate'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.jdbc.core.simple.SimpleJdbcTemplate] to required type [javax.sql.DataSource] for property 'simpleJdbcTemplate': no matching editors or conversion strategy found

2个回答

caozhy
caozhy   Ds   Rxr 2016.04.06 17:15

电脑不幸感染了360了,建议先重装下吧。

CSDNXIAOD
CSDNXIAOD   2016.04.06 17:21

在android项目中运行普通的java程序出错!
----------------------biu~biu~biu~~~在下问答机器人小D,这是我依靠自己的聪明才智给出的答案,如果不正确,你来咬我啊!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!