亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

注入配置問題

我按照老師的步驟一步一步來實現在運行測試的時候出現以下問題:

1、Caused by: java.io.FileNotFoundException: http://www.mybatis.org/dtd/mbatis-3-config.dtd

2、Caused by: org.apache.ibatis.builder.BuilderException: Error creating document instance.? Cause: java.io.FileNotFoundException: http://www.mybatis.org/dtd/mbatis-3-config.dtd

3、Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/imooc/demo/config/dao/SessionFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance.? Cause: java.io.FileNotFoundException: http://www.mybatis.org/dtd/mbatis-3-config.dtd

4、Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'areaDao' defined in file [E:\ideaworkplace\demo\target\classes\com\imooc\demo\dao\AreaDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/imooc/demo/config/dao/SessionFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance.? Cause: java.io.FileNotFoundException: http://www.mybatis.org/dtd/mbatis-3-config.dtd


正在回答

舉報

0/150
提交
取消

注入配置問題

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號