永发信息网

在mybatis和spring整合中使用spring的MapperScannerConfigurer 运行出错

答案:2  悬赏:0  手机版
解决时间 2021-03-21 23:52
  • 提问者网友:骑士
  • 2021-03-21 01:33
DEBUG [main] - Initializing new StandardEnvironment
DEBUG [main] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [main] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [main] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
DEBUG [main] - Looking for matching resources in directory tree [E:\myworkspace\mybatis_spring3\bin\com\nemo\ssm\mapper]
DEBUG [main] - Searching directory [E:\myworkspace\mybatis_spring3\bin\com\nemo\ssm\mapper] for files matching pattern [E:/myworkspace/mybatis_spring3/bin/com/nemo/ssm/mapper*.class]
DEBUG [main] - Resolved location pattern [classpath*:com/nemo/ssm/mapper*.class] to resources [file [E:\myworkspace\mybatis_spring3\bin\com\nemo\ssm\mapper\UserMapper.class], file [E:\myworkspace\mybatis_spring3\bin\com\nemo\ssm\mapper\UserMapperTest.class]]
INFO [main] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@71318ec4: defining beans [org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,dataSource,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0]; root of factory hierarchy
最佳答案
  • 五星知识达人网友:傲气稳了全场
  • 2021-03-21 02:17
没看到有报错的信息啊,这些都是debug信息
全部回答
  • 1楼网友:蕴藏春秋
  • 2021-03-21 03:35
贴上配置,然后截图出了什么错。不然别人怎么回答你。。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯