Severe: context initialization failed
Org. Springframework. Beans. Factory. BeanCreationException: create in the classpath resources defined in the spring dao. XML name error "sqlSessionFactory" bean: failed to call the init method; Nested exception is org. Springframework. Core. NestedIOException: failed to parse configuration resources: a classpath resource [mybatis config. The XML]; Nested exception is org. Apache. Ibatis. Builder. BuilderException: analysis of SQL mapper configuration errors, the reason: Java. IO. IOException: can't find the resources com. Sun. Dao. BookMapper
In the org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1778)
In the org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java:
CodePudding user response:
Can't find the resources com. Sun. Dao. BookMapper.Com. Sun. Dao BookMapper is what... No suffix?