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/11/16 01:39:56
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配置的?看看数据源配置是否正确.
还有,你的配置文件最起码贴点关键文字上来吧?