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

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 14:41:17
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
xT]O1+}Ë@p (aRmka'D1A ƈƄDTX]3_ӎdcL`Iswȇ%ֺkI{_'/S-/rD cW5hqUM.UxN'`AvEO EUD|\m4#*ay>69%?&3vZ)4TG} ]|70S`ap q0d)W%t[PjUJ bt|3=@$f+x3b{3iqiM݀Zm VIm <'a8*+-B`"3%B, ʱTrLWk3:.=vփ\wiWx0^ۏ[Z閖Ƒי_R{W~),y=[ |󝏟d$ZHhHёS?p}

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
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 path resource [applicationContext-ibatis.xml]:Invocation of init method failed; nested exception is java.lang.NoSuchMethodError:com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(Ljava/io/InputStream;Ljava/util/Properties;)Lcom/ibatis/sqlmap/client/SqlMapClient;
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
sqlmapclient的spring配置 我怎么都找不到到底是哪里配置出错了,

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
你使用spring配置数据源的还是ibatis配置的?看看数据源配置是否正确.
还有,你的配置文件最起码贴点关键文字上来吧?