`

Error creating bean with name 'xxxMapper' defined in file xxx.class

阅读更多
MyBatis报错:
Test set: com.MyTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.283 sec <<< FAILURE!
test(com.MyTest)  Time elapsed: 1.257 sec  <<< ERROR!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myMapper' defined in file [D:\NetBeans\lib-data-model\target\classes\com\MyMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: XML fragments parsed from previous mappers already contains value for com.MyMapper.my
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics